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

[localprocessing] Fixed required packages versions #409

Closed

Conversation

clausmichele
Copy link
Member

Fixed required versions of openeo_pg_parser_networkx and openeo_processes_dask to the latest tested versions, to avoid incompatibilities and functionalities breaks due to updates.

setup.py Outdated
"openeo_pg_parser_networkx>=2023.1.2",
"openeo_processes_dask>=2023.3.0",
"openeo_pg_parser_networkx==2023.3.1",
"openeo_processes_dask[implementations]==2023.3.2",
Copy link
Member

Choose a reason for hiding this comment

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

Generally it's bad style to pin versions down to an exact version in setup.py.
It's common practice to use == in requirements.txt, but setup.py should be more liberal and typically just contain >= constraints.

Is there a particular reason to pin down the versions like that?

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 followed the suggestion of @LukeWeidenwalker, since he said that the next versions could introduce braking changes.

Copy link
Member Author

Choose a reason for hiding this comment

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

@soxofaan I removed the == in setup.py and added a requirements.txt file just with those two packages. Makes sense or do we need to include more in that file?

@soxofaan
Copy link
Member

soxofaan commented Apr 5, 2023

FYI: I already cherrypicked the rioxarray constraint on master

@clausmichele
Copy link
Member Author

Ok, please note that rioxarray 0.13.0 is available only for Python 3.8+

@clausmichele
Copy link
Member Author

Closing this PR, moving the changes to #411

@clausmichele clausmichele deleted the localprocessing_setup branch May 6, 2024 08:05
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