Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-hepunits for openSUSE:Factory
checked in at 2026-10-05 12:56:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hepunits (Old)
and /work/SRC/openSUSE:Factory/.python-hepunits.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hepunits"
Mon Oct 5 12:56:52 2026 rev:8 rq:1382330 version:2.4.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hepunits/python-hepunits.changes
2026-07-06 12:34:00.610889933 +0200
+++
/work/SRC/openSUSE:Factory/.python-hepunits.new.3698736/python-hepunits.changes
2026-10-05 12:57:58.633652875 +0200
@@ -1,0 +2,11 @@
+Sun Oct 4 14:44:12 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.4.7:
+ * Support Python 3.15 and update pytest dependencies
+ * Remove a few ruff.lint.per-file-ignores
+ * chore(deps): update pre-commit hooks
+ * chore(deps): bump the actions group
+ * chore(deps): bump astral-sh/setup-uv from 9.0.0 to 10.0.1 in
+ the actions group
+
+-------------------------------------------------------------------
Old:
----
hepunits-2.4.6.tar.gz
New:
----
hepunits-2.4.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hepunits.spec ++++++
--- /var/tmp/diff_new_pack.xG4lOV/_old 2026-10-05 12:57:59.604693606 +0200
+++ /var/tmp/diff_new_pack.xG4lOV/_new 2026-10-05 12:57:59.605693648 +0200
@@ -19,7 +19,7 @@
%global modname hepunits
Name: python-hepunits
-Version: 2.4.6
+Version: 2.4.7
Release: 0
Summary: Units and constants in the HEP system of units
License: BSD-3-Clause
++++++ hepunits-2.4.6.tar.gz -> hepunits-2.4.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.6/.github/workflows/cd.yml
new/hepunits-2.4.7/.github/workflows/cd.yml
--- old/hepunits-2.4.6/.github/workflows/cd.yml 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.7/.github/workflows/cd.yml 2020-02-02 01:00:00.000000000
+0100
@@ -13,7 +13,7 @@
dist:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v6
+ - uses: actions/checkout@v7
with:
fetch-depth: 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.6/.github/workflows/main.yml
new/hepunits-2.4.7/.github/workflows/main.yml
--- old/hepunits-2.4.6/.github/workflows/main.yml 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.7/.github/workflows/main.yml 2020-02-02
01:00:00.000000000 +0100
@@ -14,8 +14,8 @@
name: Format
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v6
- - uses: actions/setup-python@v6
+ - uses: actions/checkout@v7
+ - uses: actions/setup-python@v7
with:
python-version: "3.x"
- name: Check manifest
@@ -32,19 +32,20 @@
- "3.12"
- "3.13"
- "3.14"
+ - "3.15"
name: Check Python ${{ matrix.python-version }}
steps:
- - uses: actions/checkout@v6
+ - uses: actions/checkout@v7
with:
fetch-depth: 0
- - uses: actions/setup-python@v6
+ - uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- - uses: astral-sh/[email protected]
+ - uses: astral-sh/[email protected]
- name: Install package
run: uv pip install --system -e .[test]
@@ -53,6 +54,6 @@
run: python -m pytest --doctest-modules --cov=src/hepunits
--cov-report=xml
- name: Test coverage with Codecov
- uses: codecov/codecov-action@v6
+ uses: codecov/codecov-action@v7
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.6/.pre-commit-config.yaml
new/hepunits-2.4.7/.pre-commit-config.yaml
--- old/hepunits-2.4.6/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.7/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000
+0100
@@ -1,6 +1,7 @@
ci:
autoupdate_commit_msg: "chore(deps): update pre-commit hooks"
autofix_commit_msg: "style: pre-commit fixes"
+ autoupdate_schedule: monthly
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
@@ -18,14 +19,14 @@
- id: check-yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: "v0.15.17"
+ rev: "v0.16.8"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v2.1.0
+ rev: v2.3.1
hooks:
- id: mypy
files: src
@@ -33,13 +34,13 @@
additional_dependencies: [pint<0.25.1] # upper limit given issue
reported with 0.25.1, see https://github.com/hgrecco/pint/issues/2245
- repo: https://github.com/codespell-project/codespell
- rev: v2.4.2
+ rev: v2.4.3
hooks:
- id: codespell
args: ["-L", "HEP"]
- repo: https://github.com/rbubley/mirrors-prettier
- rev: "v3.8.4"
+ rev: "v3.9.8"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.6/PKG-INFO new/hepunits-2.4.7/PKG-INFO
--- old/hepunits-2.4.6/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/hepunits-2.4.7/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 2.4
+Metadata-Version: 2.5
Name: hepunits
-Version: 2.4.6
+Version: 2.4.7
Summary: Units and constants in the HEP system of units
Project-URL: Homepage, https://github.com/scikit-hep/hepunits
Author-email: Eduardo Rodrigues <[email protected]>
@@ -21,20 +21,21 @@
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
+Classifier: Programming Language :: Python :: 3.15
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.9
Provides-Extra: all
Requires-Dist: pint<0.25.1; extra == 'all'
-Requires-Dist: pytest-cov>=2.8.0; extra == 'all'
-Requires-Dist: pytest>=6; extra == 'all'
+Requires-Dist: pytest-cov>=6; extra == 'all'
+Requires-Dist: pytest>=7; extra == 'all'
Provides-Extra: dev
Requires-Dist: pint<0.25.1; extra == 'dev'
-Requires-Dist: pytest-cov>=2.8.0; extra == 'dev'
-Requires-Dist: pytest>=6; extra == 'dev'
+Requires-Dist: pytest-cov>=6; extra == 'dev'
+Requires-Dist: pytest>=7; extra == 'dev'
Provides-Extra: test
Requires-Dist: pint<0.25.1; extra == 'test'
-Requires-Dist: pytest-cov>=2.8.0; extra == 'test'
-Requires-Dist: pytest>=6; extra == 'test'
+Requires-Dist: pytest-cov>=6; extra == 'test'
+Requires-Dist: pytest>=7; extra == 'test'
Description-Content-Type: text/x-rst
``hepunits``: units and constants in the HEP system of units
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.6/pyproject.toml
new/hepunits-2.4.7/pyproject.toml
--- old/hepunits-2.4.6/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/hepunits-2.4.7/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -1,5 +1,5 @@
[build-system]
-requires = ["hatchling", "hatch-vcs"]
+requires = ["hatchling>=1.27", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
@@ -11,6 +11,7 @@
{ name = "Eduardo Rodrigues", email = "[email protected]" },
]
license = "BSD-3-Clause"
+license-files = ["LICENSE"]
maintainers = [
{ name = "Scikit-HEP", email = "[email protected]" },
]
@@ -34,24 +35,25 @@
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
+ "Programming Language :: Python :: 3.15",
"Topic :: Scientific/Engineering",
]
dynamic = ["version"]
[project.optional-dependencies]
all = [
- "pytest-cov>=2.8.0",
- "pytest>=6",
+ "pytest-cov>=6",
+ "pytest>=7",
"pint<0.25.1",
]
dev = [
- "pytest-cov>=2.8.0",
- "pytest>=6",
+ "pytest-cov>=6",
+ "pytest>=7",
"pint<0.25.1",
]
test = [
- "pytest-cov>=2.8.0",
- "pytest>=6",
+ "pytest-cov>=6",
+ "pytest>=7",
"pint<0.25.1",
]
@@ -65,7 +67,7 @@
[tool.pytest.ini_options]
-minversion = "6.0"
+minversion = "7.0"
junit_family = "xunit2"
testpaths = ["tests"]
filterwarnings = [
@@ -119,11 +121,8 @@
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
- "F403",
- "F405",
"PLR2004", # Magic value in comparisons
"PT013", # Okay to import approx from pytest
- "T20",
]
[tool.repo-review]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.6/src/hepunits/_version.py
new/hepunits-2.4.7/src/hepunits/_version.py
--- old/hepunits-2.4.6/src/hepunits/_version.py 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.7/src/hepunits/_version.py 2020-02-02 01:00:00.000000000
+0100
@@ -18,7 +18,7 @@
commit_id: str | None
__commit_id__: str | None
-__version__ = version = '2.4.6'
-__version_tuple__ = version_tuple = (2, 4, 6)
+__version__ = version = '2.4.7'
+__version_tuple__ = version_tuple = (2, 4, 7)
__commit_id__ = commit_id = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.6/tests/constants/test_constants.py
new/hepunits-2.4.7/tests/constants/test_constants.py
--- old/hepunits-2.4.6/tests/constants/test_constants.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.7/tests/constants/test_constants.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# Licensed under a 3-clause BSD style license, see LICENSE.
"""
Tests for the hepunits.constants.constants module.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.6/tests/test_pint.py
new/hepunits-2.4.7/tests/test_pint.py
--- old/hepunits-2.4.6/tests/test_pint.py 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.7/tests/test_pint.py 2020-02-02 01:00:00.000000000
+0100
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# Licensed under a 3-clause BSD style license, see LICENSE.
"""
Tests for the hepunits.pint module.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.6/tests/units/test_prefixes.py
new/hepunits-2.4.7/tests/units/test_prefixes.py
--- old/hepunits-2.4.6/tests/units/test_prefixes.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.7/tests/units/test_prefixes.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,10 +1,9 @@
-#!/usr/bin/env python
# Licensed under a 3-clause BSD style license, see LICENSE.
"""
Tests for the hepunits.units.prefixes module.
"""
-from math import log
+from math import log2
from pytest import approx
@@ -20,5 +19,5 @@
def test_prefixes_binary():
- assert log(kibi, 2) == 10
- assert log(tebi, 2) == 40
+ assert log2(kibi) == 10
+ assert log2(tebi) == 40
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.6/tests/units/test_units.py
new/hepunits-2.4.7/tests/units/test_units.py
--- old/hepunits-2.4.6/tests/units/test_units.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.7/tests/units/test_units.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# Licensed under a 3-clause BSD style license, see LICENSE.
"""
Tests for the hepunits.units.units module.