Skip to content
Open
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
17 changes: 6 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v1
Expand Down Expand Up @@ -69,25 +69,20 @@ jobs:
path: junit/pytest-results-${{ matrix.python-version }}.xml
if: always()

- name: Codecov
run: |
bash <(sed -i 's/filename=\"/filename=\"rodi\//g' coverage.xml)
bash <(curl -s https://codecov.io/bash)

- name: Install distribution dependencies
run: pip install --upgrade build
if: matrix.python-version == 3.12
if: matrix.python-version == 3.13

- name: Create distribution package
run: python -m build
if: matrix.python-version == 3.12
if: matrix.python-version == 3.13

- name: Upload distribution package
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
if: matrix.python-version == 3.12
if: matrix.python-version == 3.13

publish:
runs-on: ubuntu-latest
Expand All @@ -100,10 +95,10 @@ jobs:
name: dist
path: dist

- name: Use Python 3.12
- name: Use Python 3.13
uses: actions/setup-python@v1
with:
python-version: '3.12'
python-version: '3.13'

- name: Install dependencies
run: |
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.0] - 2025-11-24 :notes:

- Drop support for Python <= 3.10.
- Add Python 3.14 to the build matrix and to classifiers.
- Remove Codecov from GitHub Workflow and from README.
- Upgrade type annotations to Python >= 3.10.
- Remove code checks for Python <= 3.10.

## [2.0.8] - 2025-04-12

- Add the link to the [documentation](https://www.neoteroi.dev/rodi/).
Expand Down
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,19 @@ authors = [{ name = "Roberto Prevato", email = "[email protected]" }]
description = "Implementation of dependency injection for Python 3"
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
]
keywords = ["dependency", "injection", "type", "hints", "typing"]
dependencies = ["typing_extensions; python_version < '3.8'"]
dependencies = []

[tool.hatch.build.targets.sdist]
exclude = [
Expand All @@ -47,6 +45,9 @@ exclude = [
"examples-summary.py",
]

[tool.hatch.build.targets.wheel]
packages = ["rodi"]

[tool.hatch.version]
path = "rodi/__about__.py"

Expand Down
Loading