Skip to content

Commit 32ee481

Browse files
committed
Drop support for Python 3.8 and upgrade urllib3 to fix security vulns
1 parent ad890ea commit 32ee481

File tree

9 files changed

+28
-614
lines changed

9 files changed

+28
-614
lines changed

.github/workflows/faucet_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
max-parallel: 1
2424
matrix:
25-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
25+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2626

2727
steps:
2828
- name: Checkout code

.github/workflows/integration_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
timeout-minutes: 30
2626
strategy:
2727
matrix:
28-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
28+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2929

3030
steps:
3131
- name: Checkout code

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ jobs:
224224
- name: Install Python + Retrieve Poetry dependencies from cache
225225
uses: actions/setup-python@v5
226226
with:
227-
python-version: "3.8"
227+
python-version: "3.9"
228228
cache: "poetry"
229229
- name: Build a binary wheel and a source tarball
230230
run: poetry build

.github/workflows/unit_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424

2525
env:
26-
PYTHON_VERSION: "3.8"
26+
PYTHON_VERSION: "3.9"
2727

2828
steps:
2929
- name: Checkout code
@@ -70,7 +70,7 @@ jobs:
7070
runs-on: ubuntu-latest
7171
strategy:
7272
matrix:
73-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
73+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
7474

7575
steps:
7676
- name: Checkout code

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [[Unreleased]]
99

10+
### Changed
11+
12+
- [Breaking change] Dropped support for Python 3.8 (EOL October 2024). The minimum supported Python version is now 3.9.
13+
14+
### Fixed
15+
16+
- Fixed urllib3 security vulnerabilities (CVE-2025-66418, CVE-2025-66471, CVE-2026-21441) by requiring urllib3 >= 2.6.3.
17+
1018
## [[4.5.0]]
1119

1220
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The `xrpl-py` library is available on [PyPI](https://pypi.org/). Install with `p
6363
pip3 install xrpl-py
6464
```
6565

66-
The library supports [Python 3.8](https://www.python.org/downloads/) and later.
66+
The library supports [Python 3.9](https://www.python.org/downloads/) and later.
6767

6868
[![Supported Versions](https://img.shields.io/pypi/pyversions/xrpl-py.svg)](https://pypi.org/project/xrpl-py)
6969

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ See the `project README <https://github.com/XRPLF/xrpl-py/blob/main/README.md>`_
1515

1616
Install
1717
--------------
18-
First, ensure that you have `Python 3.8 <https://www.python.org/downloads/>`_ or later.
18+
First, ensure that you have `Python 3.9 <https://www.python.org/downloads/>`_ or later.
1919

2020
Then, download the package via ``pip``:
2121

poetry.lock

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

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ maintainers = [
2525
{ name = "Phu Pham", email = "ppham@ripple.com" },
2626
]
2727
keywords = ["xrp", "xrpl", "cryptocurrency"]
28-
requires-python = ">=3.8.1"
28+
requires-python = ">=3.9"
2929
dynamic = [ "dependencies" ]
3030

3131
[project.urls]
@@ -39,7 +39,7 @@ description = "A complete Python library for interacting with the XRP ledger"
3939
packages = [{ include = "xrpl" }, { include = "LICENSE" }]
4040

4141
[tool.poetry.dependencies]
42-
python = ">=3.8.1,<4.0"
42+
python = ">=3.9,<4.0"
4343
base58 = "^2.1.0"
4444
ECPy = "^1.2.5"
4545
typing-extensions = "^4.13.2"
@@ -50,6 +50,8 @@ types-Deprecated = "^1.2.9"
5050
pycryptodome = "^3.23.0"
5151

5252
[tool.poetry.group.dev.dependencies]
53+
# urllib3 >= 2.6.3 fixes CVE-2025-66418, CVE-2025-66471, CVE-2026-21441
54+
urllib3 = ">=2.6.3"
5355
flake8 = "^7.1.2"
5456
black = "24.8.0"
5557
flake8-black = "^0.3.7"
@@ -59,10 +61,7 @@ isort = "^5.11.5"
5961
flake8-isort = "^6.0.0"
6062
flake8-annotations = "^3.1.1"
6163
flake8-absolute-import = "^1.0"
62-
pydoclint = [
63-
{ version = "<=0.5.12", python = "<3.9" },
64-
{ version = "^0.5.13", python = ">=3.9" }
65-
]
64+
pydoclint = "^0.5.13"
6665
sphinx-rtd-theme = "^3.0.2"
6766
aiounittest = "^1.4.3"
6867
coverage = "^7.2.7"

0 commit comments

Comments
 (0)