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

dep: drop matplotlib #69

Merged
merged 2 commits into from
Aug 16, 2023
Merged

dep: drop matplotlib #69

merged 2 commits into from
Aug 16, 2023

Conversation

yunjunz
Copy link
Member

@yunjunz yunjunz commented Aug 16, 2023

  • remove matplotlib from the dependency list, as it's not needed in the actual SET calculation, but for result plotting and inspection only, as described in Cut scikit-image dependency #67.

    • remove matplotlib in pyproject.toml, requirements.txt and setup.py files
    • point: move the module import of matplotlib from top of the script to inside the functions.
  • add docs/requirements.txt for extra dependencies needed for running notebooks

  • add tests/requirements.txt for extra dependencies needed for running tests

After this PR, we could cut for a maintenance release version 0.3.1 to update the conda-forge recipe.

+ remove matplotlib from the dependency list, as it's not needed in the actual SET calculation, but for result plotting and inspection only.
   - remove matplotlib in pyproject.toml, requirements.txt and setup.py files
   - move the module import of matplotlib into point.py

+ add docs/requirements.txt for extra dependencies needed for running notebooks

+ add tests/requirements.txt for extra dependencies needed for running tests
@@ -24,7 +24,6 @@ classifiers=[
dependencies = [
"numpy",
"scipy",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Something we might try after this PR: you can specify the dependencies dynamically with newer setuptool. I didn't include it since I wasn't sure how it would interact with PySold's current setuptools version pinning

https://github.com/opera-adt/dolphin/blob/main/pyproject.toml#L23-L34

Copy link
Member Author

Choose a reason for hiding this comment

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

I like this dynamic dependencies setup a lot, it makes a lot of sense.

@yunjunz yunjunz merged commit b62dae7 into insarlab:main Aug 16, 2023
6 checks passed
@yunjunz yunjunz deleted the dep branch August 16, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants