Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/bump-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ concurrency:
cancel-in-progress: true

env:
default-python: "3.12"
minimum-supported-python: "3.8"
default-python: "3.13"
minimum-supported-python: "3.9"

jobs:
bump-changelog:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/create_tests_package_lists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8"]
python-version: ["3.13", "3.12", "3.11", "3.10", "3.9"]
include:
- os: macos-latest
python-version: "3.12"
python-version: "3.13"
- os: windows-latest
python-version: "3.12"
python-version: "3.13"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/exhaustive_package_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8"]
python-version: ["3.13", "3.12", "3.11", "3.10", "3.9"]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ concurrency:
cancel-in-progress: true

env:
default-python: "3.12"
minimum-supported-python: "3.8"
default-python: "3.13"
minimum-supported-python: "3.9"

jobs:
create-tag:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ concurrency:
cancel-in-progress: true

env:
default-python: "3.12"
minimum-supported-python: "3.8"
default-python: "3.13"
minimum-supported-python: "3.9"

jobs:
tests:
Expand All @@ -23,12 +23,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8"]
python-version: ["3.13", "3.12", "3.11", "3.10", "3.9"]
include:
- os: windows-latest
python-version: "3.12"
python-version: "3.13"
- os: macos-latest
python-version: "3.12"
python-version: "3.13"

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: trailing-whitespace
- id: check-yaml
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.2.4"
rev: "v2.5.0"
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
Expand Down
1 change: 1 addition & 0 deletions changelog.d/1598.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added support for Python 3.13 and dropped support for Python 3.8. pipx now requires Python 3.9 or newer.
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## System Requirements

python 3.8+ is required to install pipx. pipx can run binaries from packages with Python 3.3+. Don't have Python 3.8 or
python 3.9+ is required to install pipx. pipx can run binaries from packages with Python 3.3+. Don't have Python 3.9 or
later? See [Python 3 Installation & Setup Guide](https://realpython.com/installing-python/).

You also need to have `pip` installed on your machine for `python3`. Installing it varies from system to system. Consult
Expand Down Expand Up @@ -116,7 +116,7 @@ terminal session and verify `pipx` does run.
### Using pipx without installing (via zipapp)

The zipapp can be downloaded from [Github releases](https://github.com/pypa/pipx/releases) and you can invoke it with a
Python 3.8+ interpreter:
Python 3.9+ interpreter:

```
python pipx.pyz ensurepath
Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

import nox

PYTHON_ALL_VERSIONS = ["3.12", "3.11", "3.10", "3.9", "3.8"]
PYTHON_DEFAULT_VERSION = "3.12"
PYTHON_ALL_VERSIONS = ["3.13", "3.12", "3.11", "3.10", "3.9"]
PYTHON_DEFAULT_VERSION = "3.13"
DOC_DEPENDENCIES = [
"jinja2",
"mkdocs",
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ license = "MIT"
authors = [
{ name = "Chad Smith", email = "[email protected]" },
]
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = [
"version",
Expand All @@ -41,7 +41,7 @@ dependencies = [
"packaging>=20",
"platformdirs>=2.1",
"tomli; python_version<'3.11'",
"userpath!=1.9,>=1.6",
"userpath>=1.6,!=1.9",
]
urls."Bug Tracker" = "https://github.com/pypa/pipx/issues"
urls.Documentation = "https://pipx.pypa.io"
Expand Down
4 changes: 2 additions & 2 deletions src/pipx/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import sys

if sys.version_info < (3, 8, 0):
sys.exit("Python 3.8 or later is required. See https://github.com/pypa/pipx for installation instructions.")
if sys.version_info < (3, 9, 0):
sys.exit("Python 3.9 or later is required. See https://github.com/pypa/pipx for installation instructions.")
2 changes: 1 addition & 1 deletion src/pipx/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

PIPX_SHARED_PTH = "pipx_shared.pth"
TEMP_VENV_EXPIRATION_THRESHOLD_DAYS = 14
MINIMUM_PYTHON_VERSION = "3.8"
MINIMUM_PYTHON_VERSION = "3.9"
MAN_SECTIONS = ["man%d" % i for i in range(1, 10)]
FETCH_MISSING_PYTHON = os.environ.get("PIPX_FETCH_MISSING_PYTHON", False)

Expand Down
4 changes: 2 additions & 2 deletions testdata/empty_project/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ description = "Empty Python Project"
authors = [
{ name = "My Name", email = "[email protected]" },
]
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
scripts.empty-project = "empty_project.main:cli"
entry-points."pipx.run".empty-project = "empty_project.main:cli"
Loading