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-04-20 16:11:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hepunits (Old)
and /work/SRC/openSUSE:Factory/.python-hepunits.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hepunits"
Mon Apr 20 16:11:18 2026 rev:6 rq:1348060 version:2.4.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hepunits/python-hepunits.changes
2026-03-23 17:17:52.396914856 +0100
+++
/work/SRC/openSUSE:Factory/.python-hepunits.new.11940/python-hepunits.changes
2026-04-20 16:11:28.065574012 +0200
@@ -1,0 +2,7 @@
+Sun Apr 19 17:24:02 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.4.5:
+ * Add a couple more non-SI units related to electromagnetism
+ actions group
+
+-------------------------------------------------------------------
Old:
----
hepunits-2.4.4.tar.gz
New:
----
hepunits-2.4.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hepunits.spec ++++++
--- /var/tmp/diff_new_pack.G43SaS/_old 2026-04-20 16:11:29.797645328 +0200
+++ /var/tmp/diff_new_pack.G43SaS/_new 2026-04-20 16:11:29.817646152 +0200
@@ -19,21 +19,20 @@
%global modname hepunits
Name: python-hepunits
-Version: 2.4.4
+Version: 2.4.5
Release: 0
Summary: Units and constants in the HEP system of units
License: BSD-3-Clause
URL: https://github.com/scikit-hep/hepunits
Source:
https://files.pythonhosted.org/packages/source/h/%{modname}/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module hatch_vcs}
+BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module toml}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION For tests
BuildRequires: %{python_module Pint}
-BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest}
# /SECTION
BuildArch: noarch
++++++ hepunits-2.4.4.tar.gz -> hepunits-2.4.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.4/.github/workflows/cd.yml
new/hepunits-2.4.5/.github/workflows/cd.yml
--- old/hepunits-2.4.4/.github/workflows/cd.yml 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.5/.github/workflows/cd.yml 2020-02-02 01:00:00.000000000
+0100
@@ -20,7 +20,7 @@
- name: Build wheel and SDist
run: pipx run build
- - uses: actions/upload-artifact@v6
+ - uses: actions/upload-artifact@v7
with:
path: dist/*
@@ -36,7 +36,7 @@
id-token: write
steps:
- - uses: actions/download-artifact@v7
+ - uses: actions/download-artifact@v8
with:
name: artifact
path: dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.4/.github/workflows/main.yml
new/hepunits-2.4.5/.github/workflows/main.yml
--- old/hepunits-2.4.4/.github/workflows/main.yml 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.5/.github/workflows/main.yml 2020-02-02
01:00:00.000000000 +0100
@@ -44,7 +44,7 @@
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- - uses: astral-sh/setup-uv@v7
+ - uses: astral-sh/[email protected]
- name: Install package
run: uv pip install --system -e .[test]
@@ -53,6 +53,6 @@
run: python -m pytest --doctest-modules --cov=src/hepunits
--cov-report=xml
- name: Test coverage with Codecov
- uses: codecov/codecov-action@v5
+ uses: codecov/codecov-action@v6
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.4/.pre-commit-config.yaml
new/hepunits-2.4.5/.pre-commit-config.yaml
--- old/hepunits-2.4.4/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.5/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000
+0100
@@ -18,14 +18,14 @@
- id: check-yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: "v0.14.10"
+ rev: "v0.15.10"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v1.19.1
+ rev: v1.20.1
hooks:
- id: mypy
files: src
@@ -33,13 +33,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.1
+ rev: v2.4.2
hooks:
- id: codespell
args: ["-L", "HEP"]
- repo: https://github.com/rbubley/mirrors-prettier
- rev: "v3.7.4"
+ rev: "v3.8.2"
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.4/PKG-INFO new/hepunits-2.4.5/PKG-INFO
--- old/hepunits-2.4.4/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/hepunits-2.4.5/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: hepunits
-Version: 2.4.4
+Version: 2.4.5
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]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.4/src/hepunits/__init__.py
new/hepunits-2.4.5/src/hepunits/__init__.py
--- old/hepunits-2.4.4/src/hepunits/__init__.py 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.5/src/hepunits/__init__.py 2020-02-02 01:00:00.000000000
+0100
@@ -80,11 +80,13 @@
MeV,
MGy,
MHz,
+ Mx,
N,
Pa,
PeV,
Qg,
Rg,
+ S,
Sv,
T,
TeV,
@@ -190,6 +192,7 @@
m2,
m3,
mA,
+ maxwell,
mb,
mbar,
mCi,
@@ -268,6 +271,7 @@
rontogram,
s,
second,
+ siemens,
sievert,
sr,
steradian,
@@ -323,11 +327,13 @@
"MGy",
"MHz",
"MeV",
+ "Mx",
"N",
"Pa",
"PeV",
"Qg",
"Rg",
+ "S",
"Sv",
"T",
"THz",
@@ -467,6 +473,7 @@
"mF",
"mGy",
"mWb",
+ "maxwell",
"mb",
"mbar",
"mebi",
@@ -557,6 +564,7 @@
"s",
"s",
"second",
+ "siemens",
"sievert",
"sr",
"steradian",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.4/src/hepunits/_version.py
new/hepunits-2.4.5/src/hepunits/_version.py
--- old/hepunits-2.4.4/src/hepunits/_version.py 2020-02-02 01:00:00.000000000
+0100
+++ new/hepunits-2.4.5/src/hepunits/_version.py 2020-02-02 01:00:00.000000000
+0100
@@ -1,5 +1,6 @@
-# file generated by setuptools-scm
+# file generated by vcs-versioning
# don't change, don't track in version control
+from __future__ import annotations
__all__ = [
"__version__",
@@ -10,25 +11,14 @@
"commit_id",
]
-TYPE_CHECKING = False
-if TYPE_CHECKING:
- from typing import Tuple
- from typing import Union
-
- VERSION_TUPLE = Tuple[Union[int, str], ...]
- COMMIT_ID = Union[str, None]
-else:
- VERSION_TUPLE = object
- COMMIT_ID = object
-
version: str
__version__: str
-__version_tuple__: VERSION_TUPLE
-version_tuple: VERSION_TUPLE
-commit_id: COMMIT_ID
-__commit_id__: COMMIT_ID
+__version_tuple__: tuple[int | str, ...]
+version_tuple: tuple[int | str, ...]
+commit_id: str | None
+__commit_id__: str | None
-__version__ = version = '2.4.4'
-__version_tuple__ = version_tuple = (2, 4, 4)
+__version__ = version = '2.4.5'
+__version_tuple__ = version_tuple = (2, 4, 5)
__commit_id__ = commit_id = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.4/src/hepunits/units/__init__.py
new/hepunits-2.4.5/src/hepunits/units/__init__.py
--- old/hepunits-2.4.4/src/hepunits/units/__init__.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.5/src/hepunits/units/__init__.py 2020-02-02
01:00:00.000000000 +0100
@@ -62,11 +62,13 @@
MeV,
MGy,
MHz,
+ Mx,
N,
Pa,
PeV,
Qg,
Rg,
+ S,
Sv,
T,
TeV,
@@ -172,6 +174,7 @@
m2,
m3,
mA,
+ maxwell,
mb,
mbar,
mCi,
@@ -250,6 +253,7 @@
rontogram,
s,
second,
+ siemens,
sievert,
sr,
steradian,
@@ -301,11 +305,13 @@
"MGy",
"MHz",
"MeV",
+ "Mx",
"N",
"Pa",
"PeV",
"Qg",
"Rg",
+ "S",
"Sv",
"T",
"THz",
@@ -428,6 +434,7 @@
"mF",
"mGy",
"mWb",
+ "maxwell",
"mb",
"mbar",
"mebi",
@@ -515,6 +522,7 @@
"rontogram",
"s",
"second",
+ "siemens",
"sievert",
"sr",
"steradian",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.4/src/hepunits/units/units.py
new/hepunits-2.4.5/src/hepunits/units/units.py
--- old/hepunits-2.4.4/src/hepunits/units/units.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.5/src/hepunits/units/units.py 2020-02-02
01:00:00.000000000 +0100
@@ -378,6 +378,11 @@
# Electric resistance
ohm = volt / ampere
+# Electric conductance
+siemens = 1.0 / ohm
+
+S = siemens
+
# Magnetic Field
tesla = volt * second / meter2
@@ -405,6 +410,10 @@
uWb = microweber
nWb = nanoweber
+maxwell = 1.0e-8 * weber
+
+Mx = maxwell
+
# Inductance
henry = weber / ampere
@@ -500,11 +509,13 @@
"MGy",
"MHz",
"MeV",
+ "Mx",
"N",
"Pa",
"PeV",
"Qg",
"Rg",
+ "S",
"Sv",
"T",
"THz",
@@ -614,6 +625,7 @@
"mF",
"mGy",
"mWb",
+ "maxwell",
"mb",
"mbar",
"megabecquerel",
@@ -688,6 +700,7 @@
"rontogram",
"s",
"second",
+ "siemens",
"sievert",
"sr",
"steradian",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hepunits-2.4.4/tests/units/test_units.py
new/hepunits-2.4.5/tests/units/test_units.py
--- old/hepunits-2.4.4/tests/units/test_units.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hepunits-2.4.5/tests/units/test_units.py 2020-02-02
01:00:00.000000000 +0100
@@ -90,3 +90,4 @@
def test_magnetic_flux():
assert weber == tesla * meter2
assert weber == ohm * coulomb
+ assert maxwell == gauss * centimeter**2