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

Update and unpin some dependencies #550

Merged
merged 3 commits into from
May 25, 2023
Merged

Conversation

PerchunPak
Copy link
Member

@PerchunPak PerchunPak commented May 24, 2023

Our dependencies in main group were pinned since adding the poetry (which means - they were pinned always). This is a bad practice because it doesn't allow the user to install any other version of the used by us library.

I also hope that bumping coverage dependency will fix flaky Windows tests that are pretty randomly crash with AttributeError: 'NoneType' object has no attribute 'startswith' (it points to coverage.py files).


I also didn't update tox to v4 because of two reasons:

  1. tox-poetry was deprecated and there is no stable version that supports v4. (Deprecation because Poetry included official support of tox)
  2. We have a deprecation warning in CI, which would be an error in v4.

I personally have no motivation to fix these issues and I would better go with #488 as solution for those.


Python version was bumped from 3.8.0+ to 3.8.1+ because of similar bump in flake8-bugbear.

pyproject.toml Show resolved Hide resolved
@kevinkjt2000
Copy link
Contributor

I did not take time to investigate the linter error from pyright, but the dependencies look good.

@PerchunPak
Copy link
Member Author

I did not take time to investigate the linter error from pyright, but the dependencies look good.

I already fix those in a2d5531, so I will just cherry-pick the commit.

@kevinkjt2000 kevinkjt2000 merged commit d801050 into master May 25, 2023
@kevinkjt2000 kevinkjt2000 deleted the update-dependencies branch May 25, 2023 13:20
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