Skip to content

Commit e1cf23d

Browse files
Drop Python 3.7 in other places
1 parent 0eccfbe commit e1cf23d

File tree

8 files changed

+5
-11
lines changed

8 files changed

+5
-11
lines changed

.appveyor/packages.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ environment:
2121
- {PY_VER: "39", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
2222
- {PY_VER: "38", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
2323
- {PY_VER: "38", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
24-
- {PY_VER: "37", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
25-
- {PY_VER: "37", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
2624

2725
WORKFLOW: packages
2826

.appveyor/tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ environment:
1616
- {PY_VER: "39", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
1717
- {PY_VER: "38", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
1818
- {PY_VER: "38", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
19-
- {PY_VER: "37", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
20-
- {PY_VER: "37", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015}
2119

2220
WORKFLOW: tests
2321

.github/workflows/tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
include:
16-
- {python: "3.7", postgres: "10"}
1716
- {python: "3.8", postgres: "12"}
1817
- {python: "3.9", postgres: "13"}
1918
- {python: "3.10", postgres: "14"}
@@ -22,7 +21,6 @@ jobs:
2221
- {python: "3.13-dev", postgres: "16"}
2322

2423
# Opposite extremes of the supported Py/PG range, other architecture
25-
- {python: "3.7", postgres: "16", architecture: "x86"}
2624
- {python: "3.8", postgres: "15", architecture: "x86"}
2725
- {python: "3.9", postgres: "14", architecture: "x86"}
2826
- {python: "3.10", postgres: "13", architecture: "x86"}

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ What's new in psycopg 2.9.10 (unreleased)
55
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66

77
- Add support for Python 3.13.
8+
- Drop support for Python 3.7.
89

910

1011
What's new in psycopg 2.9.9

doc/src/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ The current `!psycopg2` implementation supports:
131131
..
132132
NOTE: keep consistent with setup.py and the /features/ page.
133133
134-
- Python versions from 3.7 to 3.12
134+
- Python versions from 3.8 to 3.12
135135
- PostgreSQL server versions from 7.4 to 16
136136
- PostgreSQL client library version from 9.1
137137

psycopg/python.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
#ifndef PSYCOPG_PYTHON_H
2828
#define PSYCOPG_PYTHON_H 1
2929

30-
#if PY_VERSION_HEX < 0x03070000
31-
#error "psycopg requires Python 3.7"
30+
#if PY_VERSION_HEX < 0x03080000
31+
#error "psycopg requires Python 3.8"
3232
#endif
3333

3434
#include <structmember.h>

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
5353
Programming Language :: Python
5454
Programming Language :: Python :: 3
55-
Programming Language :: Python :: 3.7
5655
Programming Language :: Python :: 3.8
5756
Programming Language :: Python :: 3.9
5857
Programming Language :: Python :: 3.10

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = {3.7,3.8,3.9,3.10,3.11,3.12,3.13}
2+
envlist = {3.8,3.9,3.10,3.11,3.12,3.13}
33

44
[testenv]
55
commands = make check

0 commit comments

Comments
 (0)