Skip to content

Commit ece60b6

Browse files
committed
Drop py3.9 support
1 parent e00608b commit ece60b6

File tree

8 files changed

+18
-69
lines changed

8 files changed

+18
-69
lines changed

.github/workflows/codspeed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-python@v4
1818
with:
19-
python-version: "3.9"
19+
python-version: "3.10"
2020

2121
- name: Get full Python version
2222
id: full-python-version

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
platform: linux
2222
- os: windows
2323
ls: dir
24-
interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10
24+
interpreter: 3.10 3.11 3.12 3.13 3.14 pypy3.10
2525
- os: windows
2626
ls: dir
2727
target: aarch64
2828
interpreter: 3.11 3.12 3.13 3.14
2929
- os: macos
3030
target: aarch64
31-
interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10
31+
interpreter: 3.10 3.11 3.12 3.13 3.14 pypy3.10
3232
- os: ubuntu
3333
platform: linux
3434
target: aarch64
@@ -44,11 +44,11 @@ jobs:
4444
- os: ubuntu
4545
platform: linux
4646
target: ppc64le
47-
interpreter: 3.9 3.10 3.11 3.12 3.13 3.14
47+
interpreter: 3.10 3.11 3.12 3.13 3.14
4848
- os: ubuntu
4949
platform: linux
5050
target: s390x
51-
interpreter: 3.9 3.10 3.11 3.12 3.13 3.14
51+
interpreter: 3.10 3.11 3.12 3.13 3.14
5252

5353
runs-on: ${{ matrix.os }}-latest
5454
steps:
@@ -66,7 +66,7 @@ jobs:
6666
target: ${{ matrix.target }}
6767
manylinux: ${{ matrix.manylinux || 'auto' }}
6868
container: ${{ matrix.container }}
69-
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10' }} ${{ matrix.extra-build-args }}
69+
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.10 3.11 3.12 3.13 pypy3.10' }} ${{ matrix.extra-build-args }}
7070
rust-toolchain: stable
7171
docker-options: -e CI
7272

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
matrix:
3535
os: [Ubuntu, MacOS, Windows]
36-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
36+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3737
defaults:
3838
run:
3939
shell: bash

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Change Log
22

3+
- Dropped support for Python 3.9 [#930](https://github.com/python-pendulum/pendulum/pull/930)
4+
35
## [3.1.0] - 2025-04-19
46

57
### Added

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Pendulum
1313

1414
Python datetimes made easy.
1515

16-
Supports Python **3.9 and newer**.
16+
Supports Python **3.10 and newer**.
1717

1818

1919
.. code-block:: python

poetry.lock

Lines changed: 5 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ name = "pendulum"
33
version = "3.2.0.dev0"
44
description = "Python datetimes made easy"
55
readme = "README.rst"
6-
requires-python = ">=3.9"
6+
requires-python = ">=3.10"
77
license = { text = "MIT License" }
88
authors = [{ name = "Sébastien Eustace", email = "sebastien@eustace.io" }]
99
keywords = ['datetime', 'date', 'time']
1010
classifiers = [
1111
"License :: OSI Approved :: MIT License",
1212
"Programming Language :: Python :: 3",
13-
"Programming Language :: Python :: 3.9",
1413
"Programming Language :: Python :: 3.10",
1514
"Programming Language :: Python :: 3.11",
1615
"Programming Language :: Python :: 3.12",
@@ -72,7 +71,7 @@ include = [
7271
[tool.ruff]
7372
fix = true
7473
line-length = 88
75-
target-version = "py39"
74+
target-version = "py310"
7675
extend-exclude = [
7776
# External to the project's coding standards:
7877
"docs/*",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
isolated_build = true
3-
envlist = py37, py38, py39, py310, pypy3
3+
envlist = py310, py311, py312, py313, pypy3
44

55
[testenv]
66
whitelist_externals = poetry

0 commit comments

Comments
 (0)