Skip to content

Build Python 3.13 wheels, drop support for Python 3.7 #1729

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

Merged
merged 8 commits into from
Oct 10, 2024
Merged

Build Python 3.13 wheels, drop support for Python 3.7 #1729

merged 8 commits into from
Oct 10, 2024

Conversation

edgarrmondragon
Copy link
Contributor

@edgarrmondragon edgarrmondragon commented Sep 16, 2024

I found it quite difficult to continue building 3.7 wheels for macos. Maybe someone knows better.

See #1692.

@edgarrmondragon edgarrmondragon marked this pull request as ready for review October 5, 2024 04:48
@edgarrmondragon edgarrmondragon changed the title Build Python 3.13 wheels Build Python 3.13 wheels, drop support for Python 3.7 Oct 5, 2024
@dvarrazzo
Copy link
Member

Trying to build the packages... 👀

By latest errors, it seems that Postgres 9.6 is no more supported on
VS2019 image. By documentation, it also seem that Postgres 13 is the
most recent supported database and not available in VS2015 image.
Therefore, drop Python 3.8 test (and likely build).

See https://www.appveyor.com/docs/services-databases/#postgresql
@dvarrazzo
Copy link
Member

Looking into the build failure on appveyor. It seems like the database used for tests is too old, trying to use a more recent one.

@edgarrmondragon
Copy link
Contributor Author

@dvarrazzo are there any more blockers?

@dvarrazzo
Copy link
Member

Yesterday I managed to run the test, but not the packaging. Trying that now.

The runner image to build 3.8 package doesn't seem to have a currently
supported database, and the previously used 9.6 is no more supported on
current runners.
@dvarrazzo
Copy link
Member

I managed to build packages on Windows too. We need to drop Python 3.8 but it doesn't seem a problem.

There are a couple of little bugs I'd like to fix:

So I'd like to get those in and make a release.

@dvarrazzo dvarrazzo merged commit eaeeb76 into psycopg:master Oct 10, 2024
26 of 27 checks passed
@edgarrmondragon edgarrmondragon deleted the 1692-py313-wheels branch October 10, 2024 22:31
Paciupa added a commit to Paciupa/rabotaby_bot that referenced this pull request Dec 26, 2024
Version `3.9` was chosen because of libraries compatibility:
- Despite the documentation states that `psycopg2` supports version `3.8`, there
are [no wheels](https://pypi.org/project/psycopg2/#files) for this version, and
actually they [dropped support](psycopg/psycopg2#1729)
for `3.8`. `psycopg2` was built successfully, but incorrectly with any Python
version on Windows  throwing `ImportError: DLL load failed while importing
_psycopg: The specified module could not be found.`
- `aiogram` [dropped](https://docs.aiogram.dev/en/v3.16.0/changelog.html#id10)
`3.8` support.
- adding support `3.8` makes `uv.lock` flile much more complex: more markers
and plus 50% lines.
Partly close #2.
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy