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

Use Version instead of StrictVersion since distutils is deprecated. #1552

Merged
merged 1 commit into from
Aug 29, 2021
Merged

Use Version instead of StrictVersion since distutils is deprecated. #1552

merged 1 commit into from
Aug 29, 2021

Conversation

tirkarthi
Copy link
Contributor

@tirkarthi tirkarthi commented Aug 27, 2021

Pull Request check-list

Please make sure to review and check all of these items:

  • Does $ tox pass with this change (including linting)?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

Description of change

Use Version instead of StrictVersion since distutils is deprecated. Ref : jamesls/fakeredis@ff1861c . I had run the tests with hiredis installed in tox and couldn't see any issues in tests. Migration : https://www.python.org/dev/peps/pep-0632/#migration-advice

Fixes #1551

@chayim
Copy link
Contributor

chayim commented Aug 29, 2021

@tirkarthi Thanks a tonne for both reporting the issue, and fixing it. I'll be thrilled to see this in the upcoming redis-py release!

@chayim chayim merged commit 8cfea41 into redis:master Aug 29, 2021
Andrew-Chen-Wang added a commit to aio-libs-abandoned/aioredis-py that referenced this pull request Oct 8, 2021
Use Version instead of StrictVersion since distutils is deprecated. (redis/redis-py#1552)

Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>
@abitrolly
Copy link

So when the new version is released?

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.

distutils is deprecated in Python 3.10
3 participants