public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-lz4] rawhide: Update dependencies
@ 2026-10-22  1:12 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-22  1:12 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-lz4
            Branch : rawhide
            Commit : 0edfa1655a324a52d6ba8305a4de56cb6a87ed4e
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-10-21T12:24:42-04:00
            Stats  : +2/-16 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-lz4/c/0edfa1655a324a52d6ba8305a4de56cb6a87ed4e?branch=rawhide

            Log:
            Update dependencies

wheel is no longer required when using setuptools.  setuptools_scm is well
past 6.2 at this point.

---
diff --git a/python-lz4-deps.patch b/python-lz4-deps.patch
deleted file mode 100644
index 2419e78..0000000
--- a/python-lz4-deps.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -up lz4-4.3.2/pyproject.toml.deps lz4-4.3.2/pyproject.toml
---- lz4-4.3.2/pyproject.toml.deps	2022-12-30 15:39:59.000000000 -0700
-+++ lz4-4.3.2/pyproject.toml	2023-01-02 20:50:14.039470428 -0700
-@@ -1,6 +1,6 @@
- [build-system]
--requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2", "pkgconfig"]
-+requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6", "pkgconfig"]
- build-backend = "setuptools.build_meta"
- 
- [tool.setuptools_scm]
--write_to = "lz4/version.py"
-\ No newline at end of file
-+write_to = "lz4/version.py"

diff --git a/python-lz4.spec b/python-lz4.spec
index bf8332a..fe042cd 100644
--- a/python-lz4.spec
+++ b/python-lz4.spec
@@ -8,8 +8,6 @@ Summary:        LZ4 Bindings for Python
 # Automatically converted from old format: BSD - review is highly recommended.
 License:        LicenseRef-Callaway-BSD
 Source:         https://files.pythonhosted.org/packages/source/l/%{srcname}/%{srcname}-%{version}.tar.gz
-# Reduce setuptools_scm dep to >= 6
-Patch:          python-lz4-deps.patch
 # Support Python 3.14
 Patch:          https://github.com/python-lz4/python-lz4/pull/303.patch
 
@@ -38,7 +36,8 @@ Python 3 bindings for the lz4 compression library.
 
 %prep
 %autosetup -n %{srcname}-%{version} -p1
-sed -i -e '/pytest-cov/d' setup.py
+%pyproject_patch_dependency pytest-cov:ignore
+%pyproject_patch_dependency wheel:ignore
 sed -i -e 's/--cov=lz4\/block --cov=lz4\/frame//' tox.ini
 
 rm lz4libs/lz4*.[ch]

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

only message in thread, other threads:[~2026-10-22  1:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22  1:12 [rpms/python-lz4] rawhide: Update dependencies Yaakov Selkowitz

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