Skip to content

Commit 7293165

Browse files
Update Python versions
1 parent 99867c3 commit 7293165

5 files changed

Lines changed: 43 additions & 25 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
24+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2525

2626
steps:
2727
- uses: actions/checkout@v1
@@ -58,27 +58,23 @@ jobs:
5858
path: junit/pytest-results-${{ matrix.python-version }}.xml
5959
if: always()
6060

61-
- name: Codecov
62-
run: |
63-
bash <(curl -s https://codecov.io/bash)
64-
6561
- name: Install distribution dependencies
6662
run: |
6763
rm -rf junit
6864
rm -rf deps
6965
pip install build
70-
if: matrix.python-version == 3.12
66+
if: matrix.python-version == 3.13
7167

7268
- name: Create distribution package
7369
run: python -m build
74-
if: matrix.python-version == 3.12
70+
if: matrix.python-version == 3.13
7571

7672
- name: Upload distribution package
7773
uses: actions/upload-artifact@v4
7874
with:
7975
name: dist
8076
path: dist
81-
if: matrix.python-version == 3.12
77+
if: matrix.python-version == 3.13
8278

8379
publish:
8480
runs-on: ubuntu-latest
@@ -91,10 +87,10 @@ jobs:
9187
name: dist
9288
path: dist
9389

94-
- name: Use Python 3.12
90+
- name: Use Python 3.13
9591
uses: actions/setup-python@v1
9692
with:
97-
python-version: '3.12'
93+
python-version: '3.13'
9894

9995
- name: Install dependencies
10096
run: |

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +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.0.5] - 2025-11-24
9+
10+
- Upgrade Python versions in workflow.
11+
- Remove support for Python <= 3.10.
12+
- Remove Codecov from README and workflow.
13+
814
## [2.0.4] - 2023-12-28 :snowman_with_snow:
15+
916
- Improves the library to deep-merge dictionaries of values instead of replacing
1017
objects entirely (fix [#10](https://github.com/Neoteroi/essentials-configuration/issues/10)), by @StummeJ.
1118
- Adds Python 3.12 to the build matrix, upgrades dev dependencies and fix tests

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
![Build](https://github.com/Neoteroi/essentials-configuration/workflows/Build/badge.svg)
22
[![pypi](https://img.shields.io/pypi/v/essentials-configuration.svg)](https://pypi.python.org/pypi/essentials-configuration)
33
[![versions](https://img.shields.io/pypi/pyversions/essentials-configuration.svg)](https://github.com/Neoteroi/essentials-configuration)
4-
[![codecov](https://codecov.io/gh/Neoteroi/essentials-configuration/branch/main/graph/badge.svg?token=VzAnusWIZt)](https://codecov.io/gh/Neoteroi/essentials-configuration)
54
[![license](https://img.shields.io/github/license/Neoteroi/essentials-configuration.svg)](https://github.com/Neoteroi/essentials-configuration/blob/main/LICENSE)
65

76
# Python configuration utilities
7+
88
Implementation of key-value pair based configuration for Python applications.
99

1010
**Features:**
11+
1112
- support for most common sources of application settings
1213
- support for overriding settings in sequence
1314
- support for nested structures and lists, using attribute notation
@@ -31,6 +32,7 @@ enabling different scenarios like configuration by environment and system
3132
instance.
3233

3334
## Supported sources:
35+
3436
- **toml** files
3537
- **yaml** files
3638
- **json** files

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,28 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "essentials-configuration"
7-
version = "2.0.4"
7+
version = "2.0.5"
88
authors = [{ name = "Roberto Prevato", email = "roberto.prevato@gmail.com" }]
99
description = "Implementation of key-value pair based configuration for Python applications."
1010
readme = "README.md"
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.10"
1212
classifiers = [
1313
"Development Status :: 5 - Production/Stable",
1414
"License :: OSI Approved :: MIT License",
1515
"Programming Language :: Python :: 3",
16-
"Programming Language :: Python :: 3.8",
17-
"Programming Language :: Python :: 3.9",
1816
"Programming Language :: Python :: 3.10",
1917
"Programming Language :: Python :: 3.11",
2018
"Programming Language :: Python :: 3.12",
19+
"Programming Language :: Python :: 3.13",
20+
"Programming Language :: Python :: 3.14",
2121
"Operating System :: OS Independent",
2222
]
2323
keywords = ["configuration", "root", "management", "strategy", "settings"]
2424

2525
dependencies = [
26-
"deepmerge~=1.1.0",
26+
"deepmerge~=2.0",
2727
"tomli; python_version < '3.11'",
28-
"python-dotenv~=1.0.0",
28+
"python-dotenv~=1.2.1",
2929
]
3030

3131
[project.optional-dependencies]

requirements.txt

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1+
annotated-types==0.7.0
12
appdirs==1.4.4
23
attrs==22.1.0
34
black==22.12.0
4-
build==0.10.0
5+
build==1.3.0
6+
certifi==2025.11.12
7+
charset-normalizer==3.4.4
58
click==8.1.7
9+
commonmark==0.9.1
610
coverage==7.4.0
7-
deepmerge==1.1.0
11+
deepmerge==2.0
12+
docutils==0.22.3
813
flake8==5.0.4
14+
idna==3.11
915
iniconfig==1.1.1
1016
isort==5.10.1
1117
markdown-it-py==2.2.0
@@ -19,18 +25,25 @@ platformdirs==2.5.2
1925
pluggy==1.0.0
2026
py==1.11.0
2127
pycodestyle==2.9.1
22-
pydantic==1.10.7
28+
pydantic==2.12.4
29+
pydantic_core==2.41.5
2330
pyflakes==2.5.0
2431
Pygments==2.15.0
2532
pyparsing==3.0.9
2633
pyproject_hooks==1.0.0
2734
pytest==7.4.3
2835
pytest-cov==4.1.0
29-
python-dotenv==1.0.0
30-
PyYAML==6.0.1
36+
python-dotenv==1.2.1
37+
PyYAML==6.0.3
3138
regex==2022.10.31
32-
rich==13.3.4
39+
requests==2.32.5
40+
rich==12.6.0
41+
rich-cli==1.8.1
3342
rich-click==1.6.1
43+
rich-rst==1.3.2
44+
textual==0.1.18
3445
toml==0.10.2
35-
tomli==2.0.1
36-
typing_extensions==4.9.0
46+
tomli==2.3.0
47+
typing-inspection==0.4.2
48+
typing_extensions==4.15.0
49+
urllib3==2.5.0

0 commit comments

Comments
 (0)