Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pscript for openSUSE:Factory 
checked in at 2026-04-18 21:35:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pscript (Old)
 and      /work/SRC/openSUSE:Factory/.python-pscript.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pscript"

Sat Apr 18 21:35:16 2026 rev:13 rq:1347830 version:0.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pscript/python-pscript.changes    
2025-11-07 18:24:51.993517586 +0100
+++ /work/SRC/openSUSE:Factory/.python-pscript.new.11940/python-pscript.changes 
2026-04-18 21:35:26.799293526 +0200
@@ -1,0 +2,8 @@
+Thu Apr 16 11:21:48 UTC 2026 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to 0.8.1
+  * Update README.md
+  * Support py314
+- Drop support-python314.patch, fixed upstream
+
+-------------------------------------------------------------------

Old:
----
  pscript-0.8.0.tar.gz
  support-python314.patch

New:
----
  pscript-0.8.1.tar.gz

----------(Old B)----------
  Old:  * Support py314
- Drop support-python314.patch, fixed upstream
----------(Old E)----------

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

Other differences:
------------------
++++++ python-pscript.spec ++++++
--- /var/tmp/diff_new_pack.z0Y6Te/_old  2026-04-18 21:35:27.279313089 +0200
+++ /var/tmp/diff_new_pack.z0Y6Te/_new  2026-04-18 21:35:27.283313252 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pscript
 #
-# 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,14 +18,12 @@
 
 %define modname pscript
 Name:           python-pscript
-Version:        0.8.0
+Version:        0.8.1
 Release:        0
 Summary:        Python to JavaScript compiler
 License:        BSD-2-Clause
 URL:            https://github.com/flexxui/pscript
 Source:         
https://github.com/flexxui/%{modname}/archive/v%{version}/%{modname}-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE Do not use removed ast class
-Patch0:         support-python314.patch
 BuildRequires:  %{python_module flit-core}
 BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes

++++++ pscript-0.8.0.tar.gz -> pscript-0.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pscript-0.8.0/.github/workflows/ci.yml 
new/pscript-0.8.1/.github/workflows/ci.yml
--- old/pscript-0.8.0/.github/workflows/ci.yml  2025-01-27 16:29:48.000000000 
+0100
+++ new/pscript-0.8.1/.github/workflows/ci.yml  2026-03-31 10:16:26.000000000 
+0200
@@ -1,10 +1,15 @@
 name: CI
 
 on:
+  workflow_dispatch:
   push:
-    branches: [ main ]
+    branches:
+      - main
+    tags:
+      - "v*.*.*"
   pull_request:
-    branches: [ main ]
+    branches:
+      - main
 
 
 jobs:
@@ -15,15 +20,15 @@
     strategy:
       fail-fast: false
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v6
     - name: Set up Python
-      uses: actions/setup-python@v5
+      uses: actions/setup-python@v6
       with:
-        python-version: 3.12
+        python-version: 3.14
     - name: Set up Node
-      uses: actions/setup-node@v4
+      uses: actions/setup-node@v6
       with:
-          node-version: '18'
+          node-version: '24'
     - name: Install dependencies
       run: |
           python -m pip install --upgrade pip
@@ -41,11 +46,11 @@
     strategy:
       fail-fast: false
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v6
     - name: Set up Python
-      uses: actions/setup-python@v5
+      uses: actions/setup-python@v6
       with:
-        python-version: 3.13
+        python-version: 3.14
     - name: Install dev dependencies
       run: |
         python -m pip install --upgrade pip
@@ -81,21 +86,24 @@
           - name: Linux py 3.13
             os: ubuntu-latest
             pyversion: '3.13'
+          - name: Linux py 3.14
+            os: ubuntu-latest
+            pyversion: '3.14'
           #
           - name: Linux pypy
             os: ubuntu-latest
             pyversion: 'pypy3.9'
           - name: Windows
             os: windows-latest
-            pyversion: '3.13'
+            pyversion: '3.14'
           - name: MacOS
             os: macos-latest
-            pyversion: '3.13'
+            pyversion: '3.14'
 
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
       - name: Set up Python ${{ matrix.pyversion }}
-        uses: actions/setup-python@v5
+        uses: actions/setup-python@v6
         with:
           python-version: ${{ matrix.pyversion }}
       - name: Install dependencies for unit tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pscript-0.8.0/LICENSE new/pscript-0.8.1/LICENSE
--- old/pscript-0.8.0/LICENSE   2025-01-27 16:29:48.000000000 +0100
+++ new/pscript-0.8.1/LICENSE   2026-03-31 10:16:26.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2015-2025, Almar Klein
+Copyright (c) 2015-2026, Almar Klein
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pscript-0.8.0/README.md new/pscript-0.8.1/README.md
--- old/pscript-0.8.0/README.md 2025-01-27 16:29:48.000000000 +0100
+++ new/pscript-0.8.1/README.md 2026-03-31 10:16:26.000000000 +0200
@@ -7,7 +7,7 @@
 
 PScript is a Python to JavaScript compiler, and is also the name of the subset
 of Python that this compiler supports. It was originally developed as a part of
-[Flexx]https://github.com/flexxui/flexx) and is now a project on its own.
+[Flexx](https://github.com/flexxui/flexx) and is now a project on its own.
 
 
 Installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pscript-0.8.0/docs/conf.py 
new/pscript-0.8.1/docs/conf.py
--- old/pscript-0.8.0/docs/conf.py      2025-01-27 16:29:48.000000000 +0100
+++ new/pscript-0.8.1/docs/conf.py      2026-03-31 10:16:26.000000000 +0200
@@ -58,7 +58,7 @@
 
 # General information about the project.
 project = "PScript"
-copyright = "2015-2025, Almar Klein"
+copyright = "2015-2026, Almar Klein"
 
 # List of patterns, relative to source directory, that match files and
 # directories to ignore when looking for source files.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pscript-0.8.0/docs/releasenotes.rst 
new/pscript-0.8.1/docs/releasenotes.rst
--- old/pscript-0.8.0/docs/releasenotes.rst     2025-01-27 16:29:48.000000000 
+0100
+++ new/pscript-0.8.1/docs/releasenotes.rst     2026-03-31 10:16:26.000000000 
+0200
@@ -2,6 +2,24 @@
 Release notes
 -------------
 
+
+**v0.8.1** (31-03-2026)
+
+- Support Python 3.14.
+- Fixed some Ruff linting warnings.
+
+
+**v0.8.0** (27-01-2025)
+
+- Modernize repo.
+- Officially support Python up to 3.13.
+
+
+**v0.7.7** (10-01-2022)
+
+* Fix endswith false positives
+
+
 **v0.7.6** (09-09-2021)
 
 * Fix for with-statement when ``return`` is used in the context.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pscript-0.8.0/pscript/__init__.py 
new/pscript-0.8.1/pscript/__init__.py
--- old/pscript-0.8.0/pscript/__init__.py       2025-01-27 16:29:48.000000000 
+0100
+++ new/pscript-0.8.1/pscript/__init__.py       2026-03-31 10:16:26.000000000 
+0200
@@ -243,7 +243,7 @@
 
 # ruff: noqa: E402, F401, F403
 
-__version__ = "0.8.0"
+__version__ = "0.8.1"
 
 import sys
 import logging
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pscript-0.8.0/pscript/commonast.py 
new/pscript-0.8.1/pscript/commonast.py
--- old/pscript-0.8.0/pscript/commonast.py      2025-01-27 16:29:48.000000000 
+0100
+++ new/pscript-0.8.1/pscript/commonast.py      2026-03-31 10:16:26.000000000 
+0200
@@ -29,6 +29,14 @@
 docheck = "pytest" in sys.modules
 
 
+# For older Pythons. Since some of these classes are deprecated or removed in 
later Python versions, we play it safe.
+old_index_types = tuple(
+    getattr(ast, x)
+    for x in ("Slice", "Index", "ExtSlice", "Ellipsis")
+    if getattr(ast, x, None) is not None
+)
+
+
 def parse(code, comments=False):
     """Parse Python code to produce a common AST tree.
 
@@ -1032,7 +1040,7 @@
 
     def _convert_index_like(self, n):
         c = self._convert
-        if isinstance(n, (ast.Slice, ast.Index, ast.ExtSlice, ast.Ellipsis)):
+        if isinstance(n, old_index_types):
             return c(n)  # Python < 3.8 (and also 3.8 on Windows?)
         elif isinstance(n, ast.Tuple):
             assert isinstance(n, ast.Tuple)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pscript-0.8.0/pscript/parser0.py 
new/pscript-0.8.1/pscript/parser0.py
--- old/pscript-0.8.0/pscript/parser0.py        2025-01-27 16:29:48.000000000 
+0100
+++ new/pscript-0.8.1/pscript/parser0.py        2026-03-31 10:16:26.000000000 
+0200
@@ -317,7 +317,7 @@
     def pop_stack(self):
         """Pop the current stack and return the namespace."""
         # Pop
-        nstype, nsname, ns = self._stack.pop(-1)
+        _nstype, _nsname, ns = self._stack.pop(-1)
         self.vars.leak_stack(ns)
         return ns
 
@@ -337,7 +337,7 @@
 
     def with_prefix(self, name, new=False):
         """Add class prefix to a variable name if necessary."""
-        nstype, nsname, ns = self._stack[-1]
+        nstype, nsname, _ns = self._stack[-1]
         if nstype == "class":
             if name.startswith("__") and not name.endswith("__"):
                 name = "_" + nsname + name  # Double underscore name mangling
@@ -362,7 +362,7 @@
         return name
 
     def _handle_std_deps(self, code):
-        nargs, function_deps, method_deps = stdlib.get_std_info(code)
+        _nargs, function_deps, method_deps = stdlib.get_std_info(code)
         for dep in function_deps:
             self.use_std_function(dep, [])
         for dep in method_deps:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pscript-0.8.0/pscript/parser2.py 
new/pscript-0.8.1/pscript/parser2.py
--- old/pscript-0.8.0/pscript/parser2.py        2025-01-27 16:29:48.000000000 
+0100
+++ new/pscript-0.8.1/pscript/parser2.py        2026-03-31 10:16:26.000000000 
+0200
@@ -1177,7 +1177,7 @@
 
         # Find the class of this function. Using this._base_class would work
         # in simple situations, but not when there's two levels of super().
-        nstype1, nsname1, _ = self._stack[-1]
+        nstype1, _nsname1, _ = self._stack[-1]
         nstype2, nsname2, _ = self._stack[-2]
         if not (nstype1 == "function" and nstype2 == "class"):
             raise JSError("can only use super() inside a method.")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pscript-0.8.0/pyproject.toml 
new/pscript-0.8.1/pyproject.toml
--- old/pscript-0.8.0/pyproject.toml    2025-01-27 16:29:48.000000000 +0100
+++ new/pscript-0.8.1/pyproject.toml    2026-03-31 10:16:26.000000000 +0200
@@ -16,7 +16,7 @@
 license = { file = "LICENSE" }
 authors = [{ name = "Almar Klein" }]
 keywords = ["Python", "JavaScript", "compiler", "transpiler", "parser"]
-requires-python = ">= 3.6"
+requires-python = ">= 3.8"
 dependencies = []
 [project.optional-dependencies]
 lint = ["ruff"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pscript-0.8.0/tests/test_parser0.py 
new/pscript-0.8.1/tests/test_parser0.py
--- old/pscript-0.8.0/tests/test_parser0.py     2025-01-27 16:29:48.000000000 
+0100
+++ new/pscript-0.8.1/tests/test_parser0.py     2026-03-31 10:16:26.000000000 
+0200
@@ -1,5 +1,3 @@
-# ruff: noqa: F841
-
 from pscript.testing import run_tests_if_main
 
 from pscript.parser0 import unify

Reply via email to