Skip to content

Commit 875352e

Browse files
Code maintenance (#66)
1 parent 99152d3 commit 875352e

4 files changed

Lines changed: 77 additions & 90 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
32+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3333

3434
steps:
3535
- uses: actions/checkout@v4
@@ -69,25 +69,20 @@ jobs:
6969
path: junit/pytest-results-${{ matrix.python-version }}.xml
7070
if: always()
7171

72-
- name: Codecov
73-
run: |
74-
bash <(sed -i 's/filename=\"/filename=\"rodi\//g' coverage.xml)
75-
bash <(curl -s https://codecov.io/bash)
76-
7772
- name: Install distribution dependencies
7873
run: pip install --upgrade build
79-
if: matrix.python-version == 3.12
74+
if: matrix.python-version == 3.13
8075

8176
- name: Create distribution package
8277
run: python -m build
83-
if: matrix.python-version == 3.12
78+
if: matrix.python-version == 3.13
8479

8580
- name: Upload distribution package
8681
uses: actions/upload-artifact@v4
8782
with:
8883
name: dist
8984
path: dist
90-
if: matrix.python-version == 3.12
85+
if: matrix.python-version == 3.13
9186

9287
publish:
9388
runs-on: ubuntu-latest
@@ -100,10 +95,10 @@ jobs:
10095
name: dist
10196
path: dist
10297

103-
- name: Use Python 3.12
98+
- name: Use Python 3.13
10499
uses: actions/setup-python@v1
105100
with:
106-
python-version: '3.12'
101+
python-version: '3.13'
107102

108103
- name: Install dependencies
109104
run: |

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.1.0] - 2025-11-24 :notes:
9+
10+
- Drop support for Python <= 3.10.
11+
- Add Python 3.14 to the build matrix and to classifiers.
12+
- Remove Codecov from GitHub Workflow and from README.
13+
- Upgrade type annotations to Python >= 3.10.
14+
- Remove code checks for Python <= 3.10.
15+
816
## [2.0.8] - 2025-04-12
917

1018
- Add the link to the [documentation](https://www.neoteroi.dev/rodi/).

pyproject.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,19 @@ authors = [{ name = "Roberto Prevato", email = "roberto.prevato@gmail.com" }]
99
description = "Implementation of dependency injection for Python 3"
1010
license = { file = "LICENSE" }
1111
readme = "README.md"
12-
requires-python = ">=3.7"
12+
requires-python = ">=3.10"
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
1515
"Programming Language :: Python :: 3",
16-
"Programming Language :: Python :: 3.7",
17-
"Programming Language :: Python :: 3.8",
18-
"Programming Language :: Python :: 3.9",
1916
"Programming Language :: Python :: 3.10",
2017
"Programming Language :: Python :: 3.11",
2118
"Programming Language :: Python :: 3.12",
2219
"Programming Language :: Python :: 3.13",
20+
"Programming Language :: Python :: 3.14",
2321
"Operating System :: OS Independent",
2422
]
2523
keywords = ["dependency", "injection", "type", "hints", "typing"]
26-
dependencies = ["typing_extensions; python_version < '3.8'"]
24+
dependencies = []
2725

2826
[tool.hatch.build.targets.sdist]
2927
exclude = [
@@ -47,6 +45,9 @@ exclude = [
4745
"examples-summary.py",
4846
]
4947

48+
[tool.hatch.build.targets.wheel]
49+
packages = ["rodi"]
50+
5051
[tool.hatch.version]
5152
path = "rodi/__about__.py"
5253

0 commit comments

Comments
 (0)