Skip to content
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

chore(dependencies): update conda environment #2414

Merged
merged 4 commits into from
Jan 10, 2025

Conversation

wpbonelli
Copy link
Member

@wpbonelli wpbonelli commented Jan 10, 2025

The environment.yml was missing a few optional/developer dependencies we've recently added to pyproject.toml. Bring the former into sync with the latter (and list packages in the same order).

With luck, conda will eventually be able to consume pyproject.toml files, and we can remove environment.yml. More info at issue 10633 on the conda repo (not linking to avoid the crossref showing up there).

There were some old pycharm cell format comments in the notebook scripts which jupytext didn't like, remove them.

This should close #2253. To avoid similar situations in the future, don't skip notebooks due to missing dependencies in CI — we did this for convenient local testing, so tests can run without all optional dependencies, but CI should be strict.

@wpbonelli wpbonelli added bug dependencies Pull requests that update a dependency file maintenance labels Jan 10, 2025
@@ -106,15 +106,6 @@ def pytest_addoption(parser):
"check patch collections or figure & axis properties.)",
)

# for test_generate_classes.py
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should have been removed with #2412

Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.3%. Comparing base (bb9824e) to head (871c749).
Report is 35 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff            @@
##           develop   #2414     +/-   ##
=========================================
+ Coverage     68.4%   76.3%   +7.9%     
=========================================
  Files          294     294             
  Lines        59390   59805    +415     
=========================================
+ Hits         40652   45662   +5010     
+ Misses       18738   14143   -4595     

see 248 files with indirect coverage changes

@wpbonelli wpbonelli marked this pull request as ready for review January 10, 2025 20:09
@wpbonelli wpbonelli merged commit 1f9c0e3 into modflowpy:develop Jan 10, 2025
23 checks passed
@wpbonelli wpbonelli deleted the conda-env branch January 10, 2025 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dependencies Pull requests that update a dependency file maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: The Example Gallery appears to be not building correctly
1 participant