Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-libcst for openSUSE:Factory 
checked in at 2026-07-26 11:27:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libcst (Old)
 and      /work/SRC/openSUSE:Factory/.python-libcst.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-libcst"

Sun Jul 26 11:27:10 2026 rev:13 rq:1367641 version:1.8.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-libcst/python-libcst.changes      
2026-04-04 19:06:13.642197541 +0200
+++ /work/SRC/openSUSE:Factory/.python-libcst.new.2004/python-libcst.changes    
2026-07-26 11:27:17.536280641 +0200
@@ -1,0 +2,5 @@
+Thu Jul 23 07:42:16 UTC 2026 - Dirk Müller <[email protected]>
+
+- add support-py315.patch to support py315
+
+-------------------------------------------------------------------

New:
----
  support-py315.patch

----------(New B)----------
  New:
- add support-py315.patch to support py315
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-libcst.spec ++++++
--- /var/tmp/diff_new_pack.jfnrJU/_old  2026-07-26 11:27:19.236338712 +0200
+++ /var/tmp/diff_new_pack.jfnrJU/_new  2026-07-26 11:27:19.236338712 +0200
@@ -34,6 +34,8 @@
 URL:            https://github.com/Instagram/LibCST
 Source0:        
https://files.pythonhosted.org/packages/source/l/libcst/%{modname}-%{version}.tar.gz
 Source1:        vendor.tar.zst
+# PATCH-FIX-UPSTREAM https://github.com/Instagram/LibCST/pull/1454
+Patch1:         support-py315.patch
 BuildRequires:  %{python_module base >= 3.9}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools-rust}

++++++ _service ++++++
--- /var/tmp/diff_new_pack.jfnrJU/_old  2026-07-26 11:27:19.288340488 +0200
+++ /var/tmp/diff_new_pack.jfnrJU/_new  2026-07-26 11:27:19.292340624 +0200
@@ -1,6 +1,6 @@
 <services>
   <service name="cargo_vendor" mode="manual">
-     <param name="srcdir">libcst-*.tar.gz</param>
+     <param name="srcdir">libcst-1.8.6/</param>
      <param name="cargotoml">native/Cargo.toml</param>
      <param name="update">true</param>
   </service>

++++++ support-py315.patch ++++++
>From bb3c00c8afd500c7ee160d52afe752282b12c3c5 Mon Sep 17 00:00:00 2001
From: Alex Waygood <[email protected]>
Date: Fri, 29 May 2026 14:51:53 +0100
Subject: [PATCH] add support for Python 3.15

---
 .github/workflows/build.yml         |   2 +-
 .github/workflows/ci.yml            |  13 +-
 .github/workflows/pypi_upload.yml   |   2 +-
 native/Cargo.lock                   |  53 ++---
 native/libcst/Cargo.toml            |   4 +-
 native/libcst_derive/src/into_py.rs |   8 +-
 pyproject.toml                      |   2 +-
 uv.lock                             | 314 +++++++++++++++++++++-------
 8 files changed, 270 insertions(+), 128 deletions(-)

--- a/native/libcst/Cargo.toml
+++ b/native/libcst/Cargo.toml
@@ -8,7 +8,7 @@ name = "libcst"
 version = "1.8.6"
 authors = ["LibCST Developers"]
 edition = "2018"
-rust-version = "1.70"
+rust-version = "1.83"
 description = "A Python parser and Concrete Syntax Tree library."
 license = "MIT AND (MIT AND PSF-2.0)"
 repository = "https://github.com/Instagram/LibCST";
@@ -36,7 +36,7 @@ trace = ["peg/trace"]
 
 [dependencies]
 paste = "1.0.15"
-pyo3 = { version = "0.26", optional = true }
+pyo3 = { version = "0.29", optional = true }
 thiserror = "2.0.12"
 peg = "0.8.5"
 annotate-snippets = "0.11.5"
diff --git a/native/libcst_derive/src/into_py.rs 
b/native/libcst_derive/src/into_py.rs
index f5470aa17..bdd8b02d3 100644
--- a/native/libcst_derive/src/into_py.rs
+++ b/native/libcst_derive/src/into_py.rs
@@ -69,8 +69,8 @@ fn impl_into_py_enum(ast: &DeriveInput, e: &DataEnum) -> 
TokenStream {
     let gen = quote! {
         use pyo3::types::IntoPyDict as _;
         #[automatically_derived]
-        impl#generics crate::nodes::traits::py::TryIntoPy<pyo3::PyObject> for 
#ident #generics {
-            fn try_into_py(self, py: pyo3::Python) -> 
pyo3::PyResult<pyo3::PyObject> {
+        impl#generics 
crate::nodes::traits::py::TryIntoPy<pyo3::Py<pyo3::PyAny>> for #ident #generics 
{
+            fn try_into_py(self, py: pyo3::Python) -> 
pyo3::PyResult<pyo3::Py<pyo3::PyAny>> {
                 match self {
                     #(#toks)*
                 }
@@ -87,8 +87,8 @@ fn impl_into_py_struct(ast: &DeriveInput, e: &DataStruct) -> 
TokenStream {
     let gen = quote! {
         use pyo3::types::IntoPyDict as _;
         #[automatically_derived]
-        impl#generics crate::nodes::traits::py::TryIntoPy<pyo3::PyObject> for 
#ident #generics {
-            fn try_into_py(self, py: pyo3::Python) -> 
pyo3::PyResult<pyo3::PyObject> {
+        impl#generics 
crate::nodes::traits::py::TryIntoPy<pyo3::Py<pyo3::PyAny>> for #ident #generics 
{
+            fn try_into_py(self, py: pyo3::Python) -> 
pyo3::PyResult<pyo3::Py<pyo3::PyAny>> {
                 use pyo3::types::PyAnyMethods;
                 let libcst = pyo3::types::PyModule::import(py, "libcst")?;
                 let kwargs = #kwargs_toks ;
diff --git a/pyproject.toml b/pyproject.toml
index f29b24749..82bc2c183 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -16,6 +16,7 @@ classifiers = [
     "Programming Language :: Python :: 3.12",
     "Programming Language :: Python :: 3.13",
     "Programming Language :: Python :: 3.14",
+    "Programming Language :: Python :: 3.15",
     "Programming Language :: Python :: Free Threading",
     "Typing :: Typed",
 ]
@@ -112,7 +113,6 @@ skip = [
     "*-musllinux_s390x",
     "*-musllinux_armv7l",
 ]
-enable = ["cpython-freethreading"]
 test-command = [
     "python --version",
     "python -m libcst.tool list",

++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/python-libcst/vendor.tar.zst 
/work/SRC/openSUSE:Factory/.python-libcst.new.2004/vendor.tar.zst differ: char 
7, line 1

Reply via email to