Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytokens for openSUSE:Factory
checked in at 2026-03-22 14:11:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytokens (Old)
and /work/SRC/openSUSE:Factory/.python-pytokens.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytokens"
Sun Mar 22 14:11:23 2026 rev:5 rq:1341459 version:0.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytokens/python-pytokens.changes
2025-11-12 21:42:33.981113097 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytokens.new.8177/python-pytokens.changes
2026-03-22 14:11:33.855858719 +0100
@@ -1,0 +2,12 @@
+Fri Mar 20 00:36:23 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 0.4.1:
+ * Avoid emitting dedents after an escaped new line
+ * Add --json support to the CLI
+ * Fix quiet mode in the CLI
+ * Improve performance by removing slicing in TokenIterator.name that can
+ cause quadratic behaviour
+ * Use mypyc for compilation for a 2.5x performance improvement
+- Switch from noarch due to switch to mypyc.
+
+-------------------------------------------------------------------
Old:
----
pytokens-0.3.0.tar.gz
New:
----
pytokens-0.4.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytokens.spec ++++++
--- /var/tmp/diff_new_pack.OfCYjV/_old 2026-03-22 14:11:34.827898690 +0100
+++ /var/tmp/diff_new_pack.OfCYjV/_new 2026-03-22 14:11:34.827898690 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pytokens
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-pytokens
-Version: 0.3.0
+Version: 0.4.1
Release: 0
Summary: A Fast, spec compliant Python 3.12+ tokenizer that runs on
older Pythons
License: MIT
URL: https://github.com/tusharsadhwani/pytokens
Source:
https://files.pythonhosted.org/packages/source/p/pytokens/pytokens-%{version}.tar.gz
+BuildRequires: %{python_module devel >= 3.8}
+BuildRequires: %{python_module mypy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
@@ -31,7 +33,6 @@
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildArch: noarch
%python_subpackages
%description
@@ -45,14 +46,15 @@
%install
%pyproject_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
-%pytest
+%pytest_arch
%files %{python_files}
%doc README.md
%license LICENSE
-%{python_sitelib}/pytokens
-%{python_sitelib}/pytokens-%{version}.dist-info
+%{python_sitearch}/*__mypyc.cpython-*.so
+%{python_sitearch}/pytokens
+%{python_sitearch}/pytokens-%{version}.dist-info
++++++ pytokens-0.3.0.tar.gz -> pytokens-0.4.1.tar.gz ++++++
++++ 1718 lines of diff (skipped)