-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge develop into main, for release (2.0.0) #300
Commits on Mar 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a9c6205 - Browse repository at this point
Copy the full SHA a9c6205View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3443483 - Browse repository at this point
Copy the full SHA 3443483View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2d253f - Browse repository at this point
Copy the full SHA e2d253fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d513f89 - Browse repository at this point
Copy the full SHA d513f89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 277ba9d - Browse repository at this point
Copy the full SHA 277ba9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a021d3 - Browse repository at this point
Copy the full SHA 3a021d3View commit details -
1. module paths 2. new version number in pyproject.toml 3. location of test script
Configuration menu - View commit details
-
Copy full SHA for b9e8c71 - Browse repository at this point
Copy the full SHA b9e8c71View commit details
Commits on Mar 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6f9608d - Browse repository at this point
Copy the full SHA 6f9608dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 749869c - Browse repository at this point
Copy the full SHA 749869cView commit details
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4de9a14 - Browse repository at this point
Copy the full SHA 4de9a14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e250e1 - Browse repository at this point
Copy the full SHA 4e250e1View commit details
Commits on Mar 22, 2024
-
Update required Python version in bin/mepo
Co-authored-by: Matthew Thompson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a043c4 - Browse repository at this point
Copy the full SHA 9a043c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33017cd - Browse repository at this point
Copy the full SHA 33017cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5027609 - Browse repository at this point
Copy the full SHA 5027609View commit details
Commits on Mar 23, 2024
-
Merge pull request #269 from GEOS-ESM/feature/pchakrab/py-project-pip…
…-installable Make mepo a pip-installable Python project
Configuration menu - View commit details
-
Copy full SHA for 6b1cad4 - Browse repository at this point
Copy the full SHA 6b1cad4View commit details
Commits on Mar 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 809e58b - Browse repository at this point
Copy the full SHA 809e58bView commit details -
Merge pull request #271 from GEOS-ESM/bugfix/mathomp4/typo
Fix small typo
Configuration menu - View commit details
-
Copy full SHA for 1d54e5e - Browse repository at this point
Copy the full SHA 1d54e5eView commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ba68a31 - Browse repository at this point
Copy the full SHA ba68a31View commit details
Commits on May 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 809d1ae - Browse repository at this point
Copy the full SHA 809d1aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1afb682 - Browse repository at this point
Copy the full SHA 1afb682View commit details
Commits on May 15, 2024
-
Python package with expanded testing (#278)
* Code reorganization to address #273 * Fixed issues with renaming config_file as registry * Removed a print statement left in by mistake * On our way to more robust testing * Added nocolor option to 'git branch list' * It's enough to chdir to the fixture dir at the beginning of a test * Added 'mepo branch' tests * Added tests for mepo tag, fetch, pull, pull-all * multiprocessing library supports the context management protocol * Added tests for mepo push, diff, whereis and reset * component.py - using Python3's relative import * Suppressing test outputs to terminal * Turning off testing 'mepo reset' and checking why 'mepo diff' is failing Maybe 'mepo reset' is causing issues with testing 'mepo tag create' * For testing 'mepo diff', ignore the last line '---' * Ignore the last line of both stdout and saved outputs * Escaping the string message of 'git tag create' * Create regular (non-annotated) tag instead * Testing 'mepo reset' is back on - this was not the issue * Code from src/mepo/command/command.py included in src/mepo/__main__.py * Small edits * Updated GEOSfvdycore version for testing * Minor quote changes * Using SimpleNamespace to construct arguments to mepo commands * Multiprocessing lib supports context manager protocol * Removed tests/input/args.py - using SimpleNamespace now * Updated README and CHANGELOG * Moved duplicate code to get GIT_EDITOR, in commit.py and tag_create.py, to git.py * Lint code as part of GitHub actions workflow only for the case where OS is ubuntu-latest and Python version is 3.9 * Added __init__.py in cmdline, command and utilities directories * Linting updates 1. Linting is a separate job now 2. Disabling some error codes, for now 3. Always return a zero status code * Hardcoding Python version * Renaming * Adding ability to create a mepo binary that can uploaded as an artifact of a Github actions workflow. Pyinstaller requires that the top level script not use relative imports * Added fix for reading mepo1 state * Added a mepo command, update-state, to permanently update mepo1 state to mepo2 * Formatting changes to update-state.py * Slightly different printable representation of component * Added an optional argument one-per-line for 'list' * component.py::MepoComponent - renamed to_dict to to_registry_format. Added to_dict * Fixed test test_list * Fixed a bug in update-state - need to switch to the fixture dir first * Implemented a context manager for os.chdir * Reformatted using black * Separate GitHub workflows for running linter and formatter * Added black to requirements * Using poetry to manage dependencies and packaging * Added creation of a top level script to build * Added pylint as (poetry) dependency * Added pylint to requirements.txt * Updated pyproject.toml * Small changes to the test script for consistency in mepo commands * Enabled previously disabled Pylint (C)onvention and (E)rror codes * Added directory containing mepo to PYTHONPATH * Using contextlib.redirect_stdout instead * Can't switch to contextlib.chdir as this exists only in 3.11+ * Run 'black --check' instead. Non-zero return code indicates that some files need to be formatted * Formatted using black * Config file is now called registry * Moved fixture/component validation from MepoComponent to Registry * Reformat using black * Switched from pkl state file to json * print() has a flush argument * Trivial changes * If mepo1 style state, print warning to run 'mepo update-state'. Updated update-state code. * Removing hashes from requirements.txt * Fixed bug in string formatting * Update comment in registry.py * Store full path to the fixture dir in state file * Revert "Store full path to the fixture dir in state file". We want relocability. This reverts commit 1bc8330. * Local path saved to state file is relative to fixture directory
Configuration menu - View commit details
-
Copy full SHA for 53ffe8a - Browse repository at this point
Copy the full SHA 53ffe8aView commit details
Commits on May 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8c90e80 - Browse repository at this point
Copy the full SHA 8c90e80View commit details
Commits on May 21, 2024
-
Switch from Poetry to Rye for dependency management and packaging (#290)
* Switch from poetry to rye (#287) * mdutils is a production requirement * pyproject.toml - packages for sdist and wheel builds * Getting hatch to build mepo wheel correctly * Updated CHANGELOG.md * Added colorama as a dependency. Updated tests * Made linter a little happier
Configuration menu - View commit details
-
Copy full SHA for d4eab4d - Browse repository at this point
Copy the full SHA d4eab4dView commit details
Commits on May 31, 2024
-
* Added pre-commit hook to run Black * Removed unused imports etc.
Configuration menu - View commit details
-
Copy full SHA for e6dd2f2 - Browse repository at this point
Copy the full SHA e6dd2f2View commit details
Commits on Jun 3, 2024
-
Fixed a bug in mepo state creation during 'mepo update-state' was fol…
…lowing the codepath for the case when mepo state does not exist. (#295)
Configuration menu - View commit details
-
Copy full SHA for fe56955 - Browse repository at this point
Copy the full SHA fe56955View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42989f9 - Browse repository at this point
Copy the full SHA 42989f9View commit details
Commits on Jun 10, 2024
-
A bug fix and '--serial' option for status and restore-state commands (…
…#296) * Another, hopefully last, bug with old-style state fixed - Convert the local path of the repos from relative to absolute after reading the state, in case of old-style state as well * Running 'mepo status' on a mac seems to cause issues for the case of an old style state. Somehow the patch to read the old style state, modification of sys.modules, does not percolate down to the processes spawned by multiprocessing. To work around this issue, added a '--serial' option to the status command. * Same issue with 'mepo restore-state' as we experienced with 'mepo status' earlier (81020ef). To work around this issue, added a '--serial' option. * Updated test to account for new option (--serial) for status and restore-state
Configuration menu - View commit details
-
Copy full SHA for eb1eab4 - Browse repository at this point
Copy the full SHA eb1eab4View commit details
Commits on Jun 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eb4fea3 - Browse repository at this point
Copy the full SHA eb4fea3View commit details
Commits on Aug 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d2585a1 - Browse repository at this point
Copy the full SHA d2585a1View commit details -
* Ready to release 2.0.0 * Updated CHANGELOG.md --------- Co-authored-by: Matt Thompson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0da5ef4 - Browse repository at this point
Copy the full SHA 0da5ef4View commit details