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

Deprecation warning when using pip_api on Python 3.11 #195

Open
jamesclark-Zapata opened this issue Nov 23, 2023 · 1 comment · May be fixed by #196
Open

Deprecation warning when using pip_api on Python 3.11 #195

jamesclark-Zapata opened this issue Nov 23, 2023 · 1 comment · May be fixed by #196

Comments

@jamesclark-Zapata
Copy link

Reproduction

python3.11 -Wall  -c "import pip_api"
<snip>/lib/python3.11/site-packages/pip_api/_vendor/pyparsing.py:108: DeprecationWarning: module 'sre_constants' is deprecated
  import sre_constants

Root cause
sre_constants is imported by the vendored pyparsing module:

import sre_constants

see: python/cpython#91308

@di di linked a pull request Nov 28, 2023 that will close this issue
@di
Copy link
Owner

di commented Dec 4, 2023

I took a shot at this in #196 but ran up against some unexpected test failures and haven't had a chance to take a closer look yet.

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 a pull request may close this issue.

2 participants