public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-lazr-config] epel9: Update to version 3.1; Resolves rhbz#2331180
@ 2026-06-23 10:57 Michel Lind
  0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-06-23 10:57 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-lazr-config
            Branch : epel9
            Commit : 2006d376c9acc130639db27ca703a1978e792a0f
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2026-06-23T10:51:06+01:00
            Stats  : +31/-4 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-lazr-config/c/2006d376c9acc130639db27ca703a1978e792a0f?branch=epel9

            Log:
            Update to version 3.1; Resolves rhbz#2331180

- Build against fixed python-lazr-delegates; Resolves rhbz#2485884
- Enable Packit for future builds

Signed-off-by: Michel Lind <salimma@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index f053a55..b5aabf6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /lazr.config-2.1.tar.gz
 /lazr.config-3.0.tar.gz
+/lazr_config-3.1.tar.gz

diff --git a/packit.yaml b/packit.yaml
new file mode 100644
index 0000000..fdf84eb
--- /dev/null
+++ b/packit.yaml
@@ -0,0 +1,16 @@
+# See the documentation for more information:
+# https://packit.dev/docs/configuration/
+
+copy_upstream_release_description: false
+
+jobs:
+- job: pull_from_upstream
+  trigger: release
+  dist_git_branches:
+    - fedora-rawhide
+
+- job: koji_build
+  trigger: commit
+  allowed_committers: ['packit']
+  dist_git_branches:
+    - fedora-rawhide

diff --git a/python-lazr-config.spec b/python-lazr-config.spec
index 813923b..a63befb 100644
--- a/python-lazr-config.spec
+++ b/python-lazr-config.spec
@@ -1,18 +1,27 @@
 Name:           python-lazr-config
-Version:        3.0
+Version:        3.1
 Release:        %autorelease
 Summary:        Create configuration schemas, and process and validate configurations.
 
 License:        LGPL-3.0-only
 URL:            https://launchpad.net/lazr.config
-Source:         %{pypi_source lazr.config}
+Source:         %{pypi_source lazr_config}
 # /usr/bin/zope-testrunner could not find lazr.config due to lazr.delegates being in
 # a different directory *and* being invoked with python -sP
 Patch:          lazr.config-avoid-python-sP.diff
 
 BuildArch:      noarch
 BuildRequires:  python3-devel
+%if 0%{?python3_version_nodots} >= 315
+# only needed for tests
+# at runtime there is a fallback if this is not available, though somehow
+# pkg_resources is still tried first
+# see
+# src/lazr/__init__.py:    import pkg_resources
+# src/lazr/config/tests/test_config.py:import pkg_resources
+# src/lazr/config/tests/test_docs.py:from pkg_resources import (
 BuildRequires:  python3-pkg-resources
+%endif
 
 
 %global _description %{expand:
@@ -35,7 +44,7 @@ Requires:       python3-pkg-resources
 
 
 %prep
-%autosetup -p1 -n lazr.config-%{version}
+%autosetup -p1 -n lazr_config-%{version}
 
 
 %generate_buildrequires
@@ -58,6 +67,7 @@ Requires:       python3-pkg-resources
 
 %files -n python3-lazr-config -f %{pyproject_files}
 %{python3_sitelib}/lazr.config-%{version}-py%{python3_version}-nspkg.pth
+%exclude %{python3_sitelib}/lazr/config/tests
 
 
 %changelog

diff --git a/sources b/sources
index c811f54..62db383 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lazr.config-3.0.tar.gz) = 15f61ca9e53e0677e228365318b99c1a65f674bf82dc1f8210335f93f4c74da2e9b09d8f8650506a133db85c45bfba12ff28ad3bc7c56edcf8c6e19c152f13f9
+SHA512 (lazr_config-3.1.tar.gz) = 760492588d7dbbafc8352390a5c4c8a2432c2fe5c825c005d901b41a45e8c2a742812ea6343f98c36bc04c2eb04434ad3ac70f6fab2e428a9c61cc1c55a6bdb7

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-23 10:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23 10:57 [rpms/python-lazr-config] epel9: Update to version 3.1; Resolves rhbz#2331180 Michel Lind

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox