public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-libcst] epel10: Update to 1.8.0
@ 2026-07-09 5:41 Karolina Surma
0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-07-09 5:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-libcst
Branch : epel10
Commit : 30a184972838b6ad220d7b7dd50b07402822e10e
Author : Karolina Surma <ksurma@redhat.com>
Date : 2025-05-28T12:56:47+02:00
Stats : +33/-3 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-libcst/c/30a184972838b6ad220d7b7dd50b07402822e10e?branch=epel10
Log:
Update to 1.8.0
---
diff --git a/.gitignore b/.gitignore
index 5543a31..3ded244 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/libcst-1.4.0.tar.gz
/libcst-1.6.0.tar.gz
/libcst-1.7.0.tar.gz
+/libcst-1.8.0.tar.gz
diff --git a/One-pyyaml-to-rule-them-all.patch b/One-pyyaml-to-rule-them-all.patch
new file mode 100644
index 0000000..7da9db0
--- /dev/null
+++ b/One-pyyaml-to-rule-them-all.patch
@@ -0,0 +1,26 @@
+From b78c4e00bdea23dc048334ae5e9bb38c1c1b1c70 Mon Sep 17 00:00:00 2001
+From: Karolina Surma <ksurma@redhat.com>
+Date: Wed, 28 May 2025 12:28:30 +0200
+Subject: [PATCH] One pyyaml to rule them all
+
+---
+ pyproject.toml | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 27dbb71..e77dc57 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -19,8 +19,7 @@ classifiers = [
+ ]
+ requires-python = ">=3.9"
+ dependencies = [
+- "pyyaml>=5.2; python_version < '3.13'",
+- "pyyaml-ft; python_version >= '3.13'",
++ "pyyaml>=5.2",
+ ]
+
+ [project.urls]
+--
+2.49.0
+
diff --git a/libcst-fix-metadata.diff b/libcst-fix-metadata.diff
index 2af32dd..adc3232 100644
--- a/libcst-fix-metadata.diff
+++ b/libcst-fix-metadata.diff
@@ -3,7 +3,7 @@ index b8abcd1..b1e2556 100644
--- a/native/libcst/Cargo.toml
+++ b/native/libcst/Cargo.toml
@@ -45,11 +45,6 @@ memchr = "2.7.4"
- libcst_derive = { path = "../libcst_derive", version = "1.6.0" }
+ libcst_derive = { path = "../libcst_derive", version = "1.8.0" }
[dev-dependencies]
-criterion = { version = "0.5.1", features = ["html_reports"] }
diff --git a/python-libcst.spec b/python-libcst.spec
index 3a2ee2a..b3b542b 100644
--- a/python-libcst.spec
+++ b/python-libcst.spec
@@ -16,7 +16,7 @@
%bcond_with all_tests
Name: python-libcst
-Version: 1.7.0
+Version: 1.8.0
Release: %autorelease
Summary: A concrete syntax tree with AST-like properties for Python 3
@@ -26,6 +26,9 @@ URL: https://github.com/Instagram/LibCST
Source: %{pypi_source libcst}
# * drop unused, benchmark-only criterion dev-dependency
Patch: libcst-fix-metadata.diff
+# pyyaml-ft is not yet packaged for Fedora
+# we can do with the old good, non-freethreaded one
+Patch: One-pyyaml-to-rule-them-all.patch
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: python3-devel
diff --git a/sources b/sources
index 8c6cfad..b60fc60 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libcst-1.7.0.tar.gz) = edd10d2883c99d58e026aff5e5929deb8cf6d2e3422d702c0b492f0ea369e2701243321b9fbe7d7217eb2f457ac09c15e2577c2cc5446dee10dfee09d558efde
+SHA512 (libcst-1.8.0.tar.gz) = c3d9b6fb82345225e053864de41d6cf1eca11c00debbf2c87551f7b6836a9890d633520ddd867495397437ce13339fd116c4fc1622c84bdbd9855af1f53266ec
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-09 5:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-09 5:41 [rpms/python-libcst] epel10: Update to 1.8.0 Karolina Surma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox