Skip to content

Commit 5c3d9de

Browse files
remove support for / testing on Python 3.9
Python 3.9 will run out of upstream support 2025-10 anyway. So we can also drop it right now and have faster CI testing.
1 parent 40c2047 commit 5c3d9de

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

Vagrantfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ def packages_freebsd
4343
pkg install -y fusefs-libs3 || true
4444
pkg install -y rust
4545
pkg install -y git bash # fakeroot causes lots of troubles on freebsd
46-
pkg install -y python39 py39-sqlite3
4746
pkg install -y python310 py310-sqlite3
4847
pkg install -y python311 py311-sqlite3 py311-pip py311-virtualenv
4948
# make sure there is a python3/pip3/virtualenv command

docs/development.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ Some more advanced examples::
295295
# verify a changed tox.ini (run this after any change to tox.ini):
296296
fakeroot -u tox --recreate
297297

298-
fakeroot -u tox -e py39 # run all tests, but only on python 3.9
298+
fakeroot -u tox -e py313 # run all tests, but only on python 3.13
299299

300300
fakeroot -u tox borg.testsuite.locking # only run 1 test module
301301

docs/installation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ To install Borg from a source package (including pip), you have to install the
161161
following dependencies first. For the libraries you will also need their
162162
development header files (sometimes in a separate `-dev` or `-devel` package).
163163

164-
* `Python 3`_ >= 3.9.0
164+
* `Python 3`_ >= 3.10.0
165165
* OpenSSL_ >= 1.1.1 (LibreSSL will not work)
166166
* libacl_ (which depends on libattr_)
167167
* libxxhash_ >= 0.8.1
@@ -446,9 +446,9 @@ If you need to use a different version of Python you can install this using ``py
446446

447447
...
448448
# create a virtual environment
449-
pyenv install 3.9.0 # minimum, preferably use something more recent!
450-
pyenv global 3.9.0
451-
pyenv local 3.9.0
449+
pyenv install 3.10.0 # minimum, preferably use something more recent!
450+
pyenv global 3.10.0
451+
pyenv local 3.10.0
452452
virtualenv --python=${pyenv which python} borg-env
453453
source borg-env/bin/activate # always before using!
454454
...

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ skip-magic-trailing-comma = true
8383

8484
[tool.ruff]
8585
line-length = 120
86-
target-version = "py39"
86+
target-version = "py310"
8787

8888
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
8989
select = ["E", "F"]

0 commit comments

Comments
 (0)