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: updated pip dependencies #1335

Merged
merged 1 commit into from
Feb 6, 2025
Merged

chore: updated pip dependencies #1335

merged 1 commit into from
Feb 6, 2025

Conversation

jstucke
Copy link
Collaborator

@jstucke jstucke commented Jan 27, 2025

  • replaced flaky with pytest-rerunfailures (flaky does not work with newer versions of pytest)

  • removed redundant dependencies

@jstucke jstucke self-assigned this Jan 27, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.80%. Comparing base (57e7c49) to head (1d3fc37).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1335      +/-   ##
==========================================
- Coverage   92.53%   91.80%   -0.73%     
==========================================
  Files         381      376       -5     
  Lines       24245    21040    -3205     
==========================================
- Hits        22435    19316    -3119     
+ Misses       1810     1724      -86     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jstucke jstucke marked this pull request as ready for review January 27, 2025 15:59
Copy link
Collaborator

@maringuu maringuu left a comment

Choose a reason for hiding this comment

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

Iirc the versions were pinned using == intentionally to have a reproducible environment for the CI. On the other hand using ~= should work as well.

I personally use poetry to define my dependencies using compatibility specifiers in pyproject.toml and lock the dependencies using hashes in a poetry.lock lockfile.
I'd suggest to replace our various requirements.txt with several poetry groups.
What do you think?

@@ -2,34 +2,26 @@
testresources==2.0.1

# General python dependencies
appdirs==1.4.4
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is a corresponding mock in docsrc/conf.py that needs to be removed.
Same for flaky. I'm not sure if there are others since it is hard to see which dependencies were removed.

@jstucke
Copy link
Collaborator Author

jstucke commented Jan 31, 2025

Iirc the versions were pinned using == intentionally to have a reproducible environment for the CI. On the other hand using ~= should work as well.

I personally use poetry to define my dependencies using compatibility specifiers in pyproject.toml and lock the dependencies using hashes in a poetry.lock lockfile. I'd suggest to replace our various requirements.txt with several poetry groups. What do you think?

Interesting idea. A bit out of scope for this PR but we should definitely discuss this further. This could also fix the problems that come from a missing venv.

* replaced flaky with pytest-rerunfailures (flaky does not work with newer versions of pytest)
* removed unused dependency appdirs
* removed redundant dependencies (defined in frontend/backend but also in pre_install)
@maringuu
Copy link
Collaborator

maringuu commented Feb 6, 2025

Interesting idea. A bit out of scope for this PR but we should definitely discuss this further.

I opened #1343 to track this

@maringuu maringuu self-requested a review February 6, 2025 08:47
@maringuu maringuu merged commit 947a5cb into master Feb 6, 2025
10 checks passed
@jstucke jstucke deleted the update-pip-deps branch February 7, 2025 08:12
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.

3 participants