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

setup: fix Python 3.13 support #233

Closed
wants to merge 1 commit into from

Conversation

rominf
Copy link

@rominf rominf commented Jul 5, 2024

To install pre-release versions, a requirement specifier should include
pre-release version:
https://pip.pypa.io/en/stable/cli/pip_install/#pre-release-versions

$ pip install 'cffi>=1.17'
Defaulting to user installation because normal site-packages is not writeable
ERROR: Ignored the following yanked versions: 1.0.2.post2
ERROR: Could not find a version that satisfies the requirement cffi>=1.17 (from versions: 0.1, 0.2, 0.2.1, 0.3, 0.4, 0.4.1, 0.4.2, 0.5, 0.6, 0.7, 0.7.1, 0.7.2, 0.8, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.9.0, 0.9.1, 0.9.2, 1.0.0, 1.0.1, 1.0.3, 1.1.0, 1.1.1, 1.1.2, 1.2.0.post1, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.7.0, 1.8.2, 1.8.3, 1.9.0, 1.9.1, 1.10.0, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.11.5, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.13.0, 1.13.1, 1.13.2, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0rc1, 1.15.0rc2, 1.15.0, 1.15.1, 1.16.0rc1, 1.16.0rc2, 1.16.0, 1.17.0rc1)
ERROR: No matching distribution found for cffi>=1.17
$ pip install 'cffi>=1.17.0rc1'
Defaulting to user installation because normal site-packages is not writeable
Collecting cffi>=1.17.0rc1
  Downloading cffi-1.17.0rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Requirement already satisfied: pycparser in /usr/lib/python3.12/site-packages (from cffi>=1.17.0rc1) (2.20)
Requirement already satisfied: ply==3.11 in /usr/lib/python3.12/site-packages (from pycparser->cffi>=1.17.0rc1) (3.11)
Downloading cffi-1.17.0rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 479.1/479.1 kB 21.2 MB/s eta 0:00:00
Installing collected packages: cffi
Successfully installed cffi-1.17.0rc1
$ pip --version
pip 24.1.1 ...

To install pre-release versions, a requirement specifier should include
pre-release version:
https://pip.pypa.io/en/stable/cli/pip_install/#pre-release-versions

```
$ pip install 'cffi>=1.17'
Defaulting to user installation because normal site-packages is not writeable
ERROR: Ignored the following yanked versions: 1.0.2.post2
ERROR: Could not find a version that satisfies the requirement cffi>=1.17 (from versions: 0.1, 0.2, 0.2.1, 0.3, 0.4, 0.4.1, 0.4.2, 0.5, 0.6, 0.7, 0.7.1, 0.7.2, 0.8, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.9.0, 0.9.1, 0.9.2, 1.0.0, 1.0.1, 1.0.3, 1.1.0, 1.1.1, 1.1.2, 1.2.0.post1, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.7.0, 1.8.2, 1.8.3, 1.9.0, 1.9.1, 1.10.0, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.11.5, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.13.0, 1.13.1, 1.13.2, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0rc1, 1.15.0rc2, 1.15.0, 1.15.1, 1.16.0rc1, 1.16.0rc2, 1.16.0, 1.17.0rc1)
ERROR: No matching distribution found for cffi>=1.17
$ pip install 'cffi>=1.17.0rc1'
Defaulting to user installation because normal site-packages is not writeable
Collecting cffi>=1.17.0rc1
  Downloading cffi-1.17.0rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Requirement already satisfied: pycparser in /usr/lib/python3.12/site-packages (from cffi>=1.17.0rc1) (2.20)
Requirement already satisfied: ply==3.11 in /usr/lib/python3.12/site-packages (from pycparser->cffi>=1.17.0rc1) (3.11)
Downloading cffi-1.17.0rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 479.1/479.1 kB 21.2 MB/s eta 0:00:00
Installing collected packages: cffi
Successfully installed cffi-1.17.0rc1
$ pip --version
pip 24.1.1 ...
```
@cclauss
Copy link

cclauss commented Oct 14, 2024

#210 (comment)

@rominf
Copy link
Author

rominf commented Oct 15, 2024

Closing as per comment #210 above this PR is no longer needed.

@rominf rominf closed this Oct 15, 2024
@rominf rominf deleted the rominf-python3.13 branch October 15, 2024 09:43
@cclauss
Copy link

cclauss commented Oct 15, 2024

Is there work to do here?

"cffi==1.17.0rc1; python_version >= '3.13'",

@edgarrmondragon
Copy link

Is there work to do here?

"cffi==1.17.0rc1; python_version >= '3.13'",

#236

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