Skip to content

Commit e092124

Browse files
authored
pkg: support 3.14.0 (#42)
Signed-off-by: Élie Goudout <[email protected]>
1 parent c5533ce commit e092124

File tree

6 files changed

+8
-13
lines changed

6 files changed

+8
-13
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14.0-rc.2"]
15+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1616
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
1717

1818

@@ -26,7 +26,7 @@ jobs:
2626
- name: Install uv
2727
uses: astral-sh/setup-uv@v5
2828
with:
29-
version: "0.8.12"
29+
version: "0.9.0"
3030
- name: Run ruff
3131
run: |
3232
uvx ruff check
@@ -39,12 +39,12 @@ jobs:
3939
uv build
4040
- name: Installing
4141
run: |
42-
uv pip install dist/paramclasses-0.4.2.dev0-py3-none-any.whl
42+
uv pip install dist/paramclasses-0.4.2-py3-none-any.whl
4343
- name: Run pytest with coverage
4444
run: |
4545
uv run pytest --cov-report=xml
46-
- name: Upload coverage report to Codecov (Ubuntu, python3.13)
47-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13'
46+
- name: Upload coverage report to Codecov (Ubuntu, python3.14)
47+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.14'
4848
uses: codecov/codecov-action@v5
4949
with:
5050
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
![OS Independant](https://img.shields.io/badge/OS_Independant-%E2%9C%93-blue)
2-
[![python versions](https://img.shields.io/badge/python-3.10%20|%203.11%20|%203.12%20|%203.13%20|%203.14.0rc2-blue)](https://devguide.python.org/versions/)
2+
[![python versions](https://img.shields.io/badge/python-3.10%20|%203.11%20|%203.12%20|%203.13%20|%203.14-blue)](https://devguide.python.org/versions/)
33
[![license MIT](https://img.shields.io/github/license/eliegoudout/paramclasses)](https://opensource.org/licenses/MIT)
44
[![pypi](https://img.shields.io/pypi/v/paramclasses)](https://pypi.org/project/paramclasses/)
55
[![pipeline status](https://github.com/eliegoudout/paramclasses/actions/workflows/ci.yml/badge.svg)](https://github.com/eliegoudout/paramclasses/actions)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "paramclasses"
3-
version = "0.4.2.dev0"
3+
version = "0.4.2"
44
description = "Parameter-holding classes with robust subclassing protection"
55
readme = "README.md"
66
requires-python = ">=3.10, <3.15"

test/paramclasses/conftest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,7 @@ def _make( # noqa: C901, PLR0912 # Prefer complexity over modularization here
420420
continue
421421

422422
# `target` is an instance
423-
target_base, _fill, _ = target.partition("_fill")
424423
instance = cls()
425-
426-
# `target` requires filling `vars(instance)`
427424
if target_is_fill:
428425
for attr in attrs:
429426
vars(instance)[attr] = fill

test/paramclasses/test_getsetdel_behaviour.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,6 @@ def test_delete_behaviour_unprotected_parameter_class_level(attr, kind, make):
287287
@parametrize_attr_kind("unprotected", "parameter")
288288
def test_delete_behaviour_unprotected_parameter_instance_level(attr, kind, make):
289289
"""Always bypasses descriptors."""
290-
param, param_fill = make("param, param_fill", kind)
291-
292290
# Empty instance
293291
for obj in make("param, paramchild", kind):
294292
with pytest.raises(AttributeError, match=f"^{attr}$"):

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)