public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-libcst] epel10: Update to 1.8.6 (close RHBZ#2368777)
Date: Thu, 09 Jul 2026 05:42:05 GMT [thread overview]
Message-ID: <178357572599.1.7049133110459853361.rpms-python-libcst-9f8ad4b26506@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-libcst
Branch : epel10
Commit : 9f8ad4b26506dd6877e3d3c174d867b987fcebae
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-07T11:40:08+01:00
Stats : +18/-48 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-libcst/c/9f8ad4b26506dd6877e3d3c174d867b987fcebae?branch=epel10
Log:
Update to 1.8.6 (close RHBZ#2368777)
---
diff --git a/.gitignore b/.gitignore
index 3ded244..4e1bd90 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/libcst-1.6.0.tar.gz
/libcst-1.7.0.tar.gz
/libcst-1.8.0.tar.gz
+/libcst-1.8.6.tar.gz
diff --git a/One-pyyaml-to-rule-them-all.patch b/One-pyyaml-to-rule-them-all.patch
deleted file mode 100644
index 7da9db0..0000000
--- a/One-pyyaml-to-rule-them-all.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-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 adc3232..5e85e61 100644
--- a/libcst-fix-metadata.diff
+++ b/libcst-fix-metadata.diff
@@ -1,16 +1,13 @@
-diff --git a/native/libcst/Cargo.toml b/native/libcst/Cargo.toml
-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.8.0" }
+diff -Naur libcst-1.8.6-original/native/libcst/Cargo.toml libcst-1.8.6/native/libcst/Cargo.toml
+--- libcst-1.8.6-original/native/libcst/Cargo.toml 2025-11-03 22:30:33.000000000 +0000
++++ libcst-1.8.6/native/libcst/Cargo.toml 2026-07-07 11:32:33.767523717 +0100
+@@ -45,9 +45,7 @@
+ libcst_derive = { path = "../libcst_derive", version = "1.8.6" }
[dev-dependencies]
--criterion = { version = "0.5.1", features = ["html_reports"] }
+-criterion = { version = "0.6.0", features = ["html_reports"] }
difference = "2.0.0"
- rayon = "1.10.0"
- itertools = "0.13.0"
--
--[[bench]]
--name = "parser_benchmark"
--harness = false
+-rayon = "1.11.0"
+ itertools = "0.14.0"
+
+ [[bench]]
diff --git a/python-libcst.spec b/python-libcst.spec
index ea89c76..11da8e6 100644
--- a/python-libcst.spec
+++ b/python-libcst.spec
@@ -6,7 +6,7 @@
%bcond all_tests 0
Name: python-libcst
-Version: 1.8.0
+Version: 1.8.6
Release: %autorelease
Summary: A concrete syntax tree with AST-like properties for Python 3
@@ -14,11 +14,8 @@ Summary: A concrete syntax tree with AST-like properties for Python 3
License: MIT AND (MIT AND PSF-2.0) AND Apache-2.0
URL: https://github.com/Instagram/LibCST
Source: %{pypi_source libcst}
-# * drop unused, benchmark-only criterion dev-dependency
+# * drop unused, benchmark-only criterion and rayon dev-dependencies
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
@@ -110,14 +107,12 @@ mod='%{buildroot}%{python3_sitearch}/libcst'
# Omit fuzz tests. These don’t make much sense downstream, and would require
# hypothesmith, which hasn’t been successfully rebuilt for Python 3.15.
ignore="${ignore-} --ignore=${mod}/tests/test_fuzz.py"
+
%if %{without all_tests}
ignore="${ignore-} --ignore=${mod}/codegen/tests/test_codegen_clean.py"
ignore="${ignore-} --ignore=${mod}/metadata/tests/test_type_inference_provider.py"
%endif
-# Pure-Python parser
-LIBCST_PARSER_TYPE=pure %pytest --import-mode=append ${ignore-} -v "${mod}"
-
# A few tests aren’t practical to run when not building in-place
# Some kind of PYTHONPATH issue, it looks like
ignore="${ignore-} --ignore=${mod}/codemod/tests/test_codemod_cli.py"
@@ -125,6 +120,9 @@ ignore="${ignore-} --ignore=${mod}/codemod/tests/test_codemod_cli.py"
# %%{buildroot}%%{python3_sitearch/native/libcst/tests/fixtures)
ignore="${ignore-} --ignore=${mod}/tests/test_roundtrip.py"
+# Pure-Python parser
+LIBCST_PARSER_TYPE=pure %pytest --import-mode=append ${ignore-} -v "${mod}"
+
# Rust (native) parser
%pytest --import-mode=append ${ignore-} -k "${k-}" -v "${mod}"
%endif
diff --git a/sources b/sources
index b60fc60..01e7b41 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libcst-1.8.0.tar.gz) = c3d9b6fb82345225e053864de41d6cf1eca11c00debbf2c87551f7b6836a9890d633520ddd867495397437ce13339fd116c4fc1622c84bdbd9855af1f53266ec
+SHA512 (libcst-1.8.6.tar.gz) = fe6c2b1cb1a9ef2b02e8f73fae3b91fc42af7e2ae78f9c0120dd5417635026aa26ee2cf1413f3ecc1fbbd9655381e2c49a878ec7475c205ab93a89ae7f317100
reply other threads:[~2026-07-09 5:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178357572599.1.7049133110459853361.rpms-python-libcst-9f8ad4b26506@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox