Skip to content

Commit

Permalink
Drop Python 3.7 in other places
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Oct 5, 2024
1 parent 0eccfbe commit e1cf23d
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .appveyor/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ environment:
- {PY_VER: "39", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "38", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
- {PY_VER: "38", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
- {PY_VER: "37", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
- {PY_VER: "37", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}

WORKFLOW: packages

Expand Down
2 changes: 0 additions & 2 deletions .appveyor/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ environment:
- {PY_VER: "39", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "38", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
- {PY_VER: "38", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
- {PY_VER: "37", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
- {PY_VER: "37", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}

WORKFLOW: tests

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
fail-fast: false
matrix:
include:
- {python: "3.7", postgres: "10"}
- {python: "3.8", postgres: "12"}
- {python: "3.9", postgres: "13"}
- {python: "3.10", postgres: "14"}
Expand All @@ -22,7 +21,6 @@ jobs:
- {python: "3.13-dev", postgres: "16"}

# Opposite extremes of the supported Py/PG range, other architecture
- {python: "3.7", postgres: "16", architecture: "x86"}
- {python: "3.8", postgres: "15", architecture: "x86"}
- {python: "3.9", postgres: "14", architecture: "x86"}
- {python: "3.10", postgres: "13", architecture: "x86"}
Expand Down
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ What's new in psycopg 2.9.10 (unreleased)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Add support for Python 3.13.
- Drop support for Python 3.7.


What's new in psycopg 2.9.9
Expand Down
2 changes: 1 addition & 1 deletion doc/src/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ The current `!psycopg2` implementation supports:
..
NOTE: keep consistent with setup.py and the /features/ page.
- Python versions from 3.7 to 3.12
- Python versions from 3.8 to 3.12
- PostgreSQL server versions from 7.4 to 16
- PostgreSQL client library version from 9.1

Expand Down
4 changes: 2 additions & 2 deletions psycopg/python.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#ifndef PSYCOPG_PYTHON_H
#define PSYCOPG_PYTHON_H 1

#if PY_VERSION_HEX < 0x03070000
#error "psycopg requires Python 3.7"
#if PY_VERSION_HEX < 0x03080000
#error "psycopg requires Python 3.8"
#endif

#include <structmember.h>
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = {3.7,3.8,3.9,3.10,3.11,3.12,3.13}
envlist = {3.8,3.9,3.10,3.11,3.12,3.13}

[testenv]
commands = make check
Expand Down

0 comments on commit e1cf23d

Please sign in to comment.