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-03-23 17:15:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hepunits (Old)
and /work/SRC/openSUSE:Factory/.python-hepunits.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hepunits"
Mon Mar 23 17:15:57 2026 rev:5 rq:1342027 version:2.4.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hepunits/python-hepunits.changes
2025-10-11 22:50:39.162310836 +0200
+++
/work/SRC/openSUSE:Factory/.python-hepunits.new.8177/python-hepunits.changes
2026-03-23 17:17:52.396914856 +0100
@@ -1,0 +2,18 @@
+Mon Mar 23 11:53:39 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.4.4:
+ * chore: pytest log_level is better than log_cli_level
+ * chore(deps): bump the actions group with 2 updates
+ * chore(deps): update pre-commit hooks
+ * Update copyright to 2026
+- update to 2.4.3:
+ * Added explicit support of Python 3.14
+ (https://github.com/scikit-hep/hepunits/pull/282) and removed
+ support of Python 3.8 (https://github.com/scikit-
+ hep/hepunits/pull/288)
+ * Modernisation based on sp-repo-review checks
+ (https://github.com/scikit-hep/hepunits/pull/283)
+ * Skip irrelevant lines in coverage test
+ (https://github.com/scikit-hep/hepunits/pull/280)
+
+-------------------------------------------------------------------
Old:
----
hepunits-2.4.2.tar.gz
New:
----
hepunits-2.4.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hepunits.spec ++++++
--- /var/tmp/diff_new_pack.xQGXyM/_old 2026-03-23 17:17:53.016940569 +0100
+++ /var/tmp/diff_new_pack.xQGXyM/_new 2026-03-23 17:17:53.020940735 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-hepunits
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global modname hepunits
Name: python-hepunits
-Version: 2.4.2
+Version: 2.4.4
Release: 0
Summary: Units and constants in the HEP system of units
License: BSD-3-Clause
++++++ hepunits-2.4.2.tar.gz -> hepunits-2.4.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/.github/workflows/cd.yml
new/hepunits-2.4.4/.github/workflows/cd.yml
--- old/hepunits-2.4.2/.github/workflows/cd.yml 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.4/.github/workflows/cd.yml 2020-02-02 01:00:00.000000000
+0100
@@ -13,14 +13,14 @@
dist:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Build wheel and SDist
run: pipx run build
- - uses: actions/upload-artifact@v4
+ - uses: actions/upload-artifact@v6
with:
path: dist/*
@@ -36,7 +36,7 @@
id-token: write
steps:
- - uses: actions/download-artifact@v5
+ - uses: actions/download-artifact@v7
with:
name: artifact
path: dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/.github/workflows/main.yml
new/hepunits-2.4.4/.github/workflows/main.yml
--- old/hepunits-2.4.2/.github/workflows/main.yml 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.4/.github/workflows/main.yml 2020-02-02
01:00:00.000000000 +0100
@@ -14,7 +14,7 @@
name: Format
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.x"
@@ -27,16 +27,15 @@
fail-fast: false
matrix:
python-version:
- - "3.8"
- "3.9"
- "3.10"
- - "3.11"
- "3.12"
- "3.13"
+ - "3.14"
name: Check Python ${{ matrix.python-version }}
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@v6
with:
fetch-depth: 0
@@ -45,7 +44,7 @@
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- - uses: astral-sh/setup-uv@v6
+ - uses: astral-sh/setup-uv@v7
- name: Install package
run: uv pip install --system -e .[test]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/.pre-commit-config.yaml
new/hepunits-2.4.4/.pre-commit-config.yaml
--- old/hepunits-2.4.2/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.4/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000
+0100
@@ -18,19 +18,19 @@
- id: check-yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: "v0.13.3"
+ rev: "v0.14.10"
hooks:
- - id: ruff
+ - id: ruff-check
args: ["--fix", "--show-fixes"]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v1.18.2
+ rev: v1.19.1
hooks:
- id: mypy
files: src
args: []
- additional_dependencies: [pint]
+ 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.1
@@ -39,7 +39,7 @@
args: ["-L", "HEP"]
- repo: https://github.com/rbubley/mirrors-prettier
- rev: "v3.6.2"
+ rev: "v3.7.4"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
@@ -49,7 +49,7 @@
hooks:
- id: blacken-docs
args: ["-E"]
- additional_dependencies: [black~=24.0]
+ additional_dependencies: [black~=25.0]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/LICENSE new/hepunits-2.4.4/LICENSE
--- old/hepunits-2.4.2/LICENSE 2020-02-02 01:00:00.000000000 +0100
+++ new/hepunits-2.4.4/LICENSE 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
BSD 3-Clause License
-Copyright (c) 2018-2025, Eduardo Rodrigues.
+Copyright (c) 2018-2026, Eduardo Rodrigues.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/PKG-INFO new/hepunits-2.4.4/PKG-INFO
--- old/hepunits-2.4.2/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/hepunits-2.4.4/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,38 +1,38 @@
Metadata-Version: 2.4
Name: hepunits
-Version: 2.4.2
+Version: 2.4.4
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]>
Maintainer-email: Scikit-HEP <[email protected]>
+License-Expression: BSD-3-Clause
License-File: LICENSE
Keywords: Constants,HEP,HEP system of units,Units
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
-Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
+Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering
-Requires-Python: >=3.8
+Requires-Python: >=3.9
Provides-Extra: all
-Requires-Dist: pint; 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'
Provides-Extra: dev
-Requires-Dist: pint; 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'
Provides-Extra: test
-Requires-Dist: pint; 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'
Description-Content-Type: text/x-rst
@@ -216,5 +216,5 @@
.. |GitHub Actions Status: CI| image::
https://github.com/scikit-hep/hepunits/workflows/CI/badge.svg
:target: https://github.com/scikit-hep/hepunits/actions
-.. |Code Coverage| image::
https://codecov.io/gh/scikit-hep/hepunits/graph/badge.svg?branch=main
- :target: https://codecov.io/gh/scikit-hep/hepunits?branch=main
+.. |Code Coverage| image::
https://codecov.io/gh/scikit-hep/hepunits/branch/main/graph/badge.svg
+ :target: https://app.codecov.io/gh/scikit-hep/hepunits/tree/main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/README.rst
new/hepunits-2.4.4/README.rst
--- old/hepunits-2.4.2/README.rst 2020-02-02 01:00:00.000000000 +0100
+++ new/hepunits-2.4.4/README.rst 2020-02-02 01:00:00.000000000 +0100
@@ -177,5 +177,5 @@
.. |GitHub Actions Status: CI| image::
https://github.com/scikit-hep/hepunits/workflows/CI/badge.svg
:target: https://github.com/scikit-hep/hepunits/actions
-.. |Code Coverage| image::
https://codecov.io/gh/scikit-hep/hepunits/graph/badge.svg?branch=main
- :target: https://codecov.io/gh/scikit-hep/hepunits?branch=main
+.. |Code Coverage| image::
https://codecov.io/gh/scikit-hep/hepunits/branch/main/graph/badge.svg
+ :target: https://app.codecov.io/gh/scikit-hep/hepunits/tree/main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/pyproject.toml
new/hepunits-2.4.4/pyproject.toml
--- old/hepunits-2.4.2/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/hepunits-2.4.4/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -6,10 +6,11 @@
name = "hepunits"
description = "Units and constants in the HEP system of units"
readme = "README.rst"
-requires-python = ">=3.8"
+requires-python = ">=3.9"
authors = [
{ name = "Eduardo Rodrigues", email = "[email protected]" },
]
+license = "BSD-3-Clause"
maintainers = [
{ name = "Scikit-HEP", email = "[email protected]" },
]
@@ -23,17 +24,16 @@
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
- "License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
- "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",
"Topic :: Scientific/Engineering",
]
dynamic = ["version"]
@@ -42,17 +42,17 @@
all = [
"pytest-cov>=2.8.0",
"pytest>=6",
- "pint",
+ "pint<0.25.1",
]
dev = [
"pytest-cov>=2.8.0",
"pytest>=6",
- "pint",
+ "pint<0.25.1",
]
test = [
"pytest-cov>=2.8.0",
"pytest>=6",
- "pint",
+ "pint<0.25.1",
]
[project.urls]
@@ -78,7 +78,7 @@
"--strict-config",
]
xfail_strict = true
-log_cli_level = "DEBUG"
+log_level = "DEBUG"
[tool.check-manifest]
ignore = [
@@ -89,7 +89,7 @@
[tool.mypy]
warn_unused_configs = true
-python_version = "3.8"
+python_version = "3.13"
files = ["src"]
strict = true
warn_unreachable = true
@@ -116,9 +116,6 @@
"UP", # pyupgrade
"YTT", # flake8-2020
]
-ignore = [
- "ISC001", # Conflicts with formatter
-]
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/src/hepunits/__init__.py
new/hepunits-2.4.4/src/hepunits/__init__.py
--- old/hepunits-2.4.2/src/hepunits/__init__.py 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.4/src/hepunits/__init__.py 2020-02-02 01:00:00.000000000
+0100
@@ -1,8 +1,5 @@
# Licensed under a 3-clause BSD style license, see LICENSE.
-# Convenient access to the version number
-from typing import List
-
from . import constants, units
from ._version import version as __version__
from .constants.constants import (
@@ -596,5 +593,5 @@
)
-def __dir__() -> List[str]:
+def __dir__() -> list[str]: # pragma: no cover
return list(__all__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/src/hepunits/_version.py
new/hepunits-2.4.4/src/hepunits/_version.py
--- old/hepunits-2.4.2/src/hepunits/_version.py 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.4/src/hepunits/_version.py 2020-02-02 01:00:00.000000000
+0100
@@ -28,7 +28,7 @@
commit_id: COMMIT_ID
__commit_id__: COMMIT_ID
-__version__ = version = '2.4.2'
-__version_tuple__ = version_tuple = (2, 4, 2)
+__version__ = version = '2.4.4'
+__version_tuple__ = version_tuple = (2, 4, 4)
__commit_id__ = commit_id = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/src/hepunits/constants/__init__.py
new/hepunits-2.4.4/src/hepunits/constants/__init__.py
--- old/hepunits-2.4.2/src/hepunits/constants/__init__.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.4/src/hepunits/constants/__init__.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,7 +1,5 @@
# Licensed under a 3-clause BSD style license, see LICENSE.
-from typing import List
-
from . import constants
from .constants import (
Avogadro,
@@ -57,5 +55,5 @@
)
-def __dir__() -> List[str]:
+def __dir__() -> list[str]:
return list(__all__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/src/hepunits/constants/constants.py
new/hepunits-2.4.4/src/hepunits/constants/constants.py
--- old/hepunits-2.4.2/src/hepunits/constants/constants.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.4/src/hepunits/constants/constants.py 2020-02-02
01:00:00.000000000 +0100
@@ -29,7 +29,6 @@
# -----------------------------------------------------------------------------
from math import pi
-from typing import List
from ..units.units import e_SI, electronvolt, eplus, joule, kelvin, m, mole, s
@@ -100,5 +99,5 @@
k_Boltzmann = 1.380649e-23 * joule / kelvin
-def __dir__() -> List[str]:
+def __dir__() -> list[str]:
return list(__all__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/src/hepunits/pint.py
new/hepunits-2.4.4/src/hepunits/pint.py
--- old/hepunits-2.4.2/src/hepunits/pint.py 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.4/src/hepunits/pint.py 2020-02-02 01:00:00.000000000
+0100
@@ -13,7 +13,7 @@
try:
import pint
-except ImportError as exc:
+except ImportError as exc: # pragma: no cover
msg = "Pint is required to use hepunits.pint."
raise ImportError(msg) from exc
@@ -38,7 +38,7 @@
raise ValueError(msg)
out *= unit(_clhep_base_units[dim]) ** exponent
- return out
+ return out # type: ignore[return-value]
def to_clhep(val: pint.Quantity | pint.Unit) -> float:
@@ -92,4 +92,4 @@
<Quantity(299792458.0, 'meter / second')>
"""
clhep_unit = _unit_from(unit)
- return (val * clhep_unit).to(unit)
+ return (val * clhep_unit).to(unit) # type: ignore[no-any-return]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/src/hepunits/units/__init__.py
new/hepunits-2.4.4/src/hepunits/units/__init__.py
--- old/hepunits-2.4.2/src/hepunits/units/__init__.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.4/src/hepunits/units/__init__.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,7 +1,5 @@
# Licensed under a 3-clause BSD style license, see LICENSE.
-from typing import List
-
from . import prefixes, units
from .prefixes import (
atto,
@@ -552,5 +550,5 @@
)
-def __dir__() -> List[str]:
+def __dir__() -> list[str]:
return list(__all__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/src/hepunits/units/prefixes.py
new/hepunits-2.4.4/src/hepunits/units/prefixes.py
--- old/hepunits-2.4.2/src/hepunits/units/prefixes.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.4/src/hepunits/units/prefixes.py 2020-02-02
01:00:00.000000000 +0100
@@ -54,8 +54,6 @@
# -----------------------------------------------------------------------------
# SI prefixes
# -----------------------------------------------------------------------------
-from typing import List
-
quetta = 1.0e30
ronna = 1.0e27
yotta = 1.0e24
@@ -99,5 +97,5 @@
googol = 1.0e100
-def __dir__() -> List[str]:
+def __dir__() -> list[str]:
return list(__all__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.2/src/hepunits/units/units.py
new/hepunits-2.4.4/src/hepunits/units/units.py
--- old/hepunits-2.4.2/src/hepunits/units/units.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.4/src/hepunits/units/units.py 2020-02-02
01:00:00.000000000 +0100
@@ -67,7 +67,6 @@
"""
from math import pi as _pi
-from typing import List
from . import prefixes as _pre
@@ -715,5 +714,5 @@
)
-def __dir__() -> List[str]:
+def __dir__() -> list[str]:
return list(__all__)