Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hypothesmith for 
openSUSE:Factory checked in at 2024-03-20 21:09:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hypothesmith (Old)
 and      /work/SRC/openSUSE:Factory/.python-hypothesmith.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hypothesmith"

Wed Mar 20 21:09:47 2024 rev:11 rq:1159225 version:0.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hypothesmith/python-hypothesmith.changes  
2024-01-29 22:26:02.338970860 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-hypothesmith.new.1905/python-hypothesmith.changes
        2024-03-20 21:10:00.964404654 +0100
@@ -1,0 +2,7 @@
+Tue Mar 19 07:02:34 UTC 2024 - Dirk Müller <dmuel...@suse.com>
+
+- update to 0.3.3:
+  * Add Python 3.12 and 3.13 to CI
+  * Can now be imported on Python 3.13
+
+-------------------------------------------------------------------

Old:
----
  hypothesmith-0.3.2.tar.gz

New:
----
  hypothesmith-0.3.3.tar.gz

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

Other differences:
------------------
++++++ python-hypothesmith.spec ++++++
--- /var/tmp/diff_new_pack.3DoA7E/_old  2024-03-20 21:10:01.928440078 +0100
+++ /var/tmp/diff_new_pack.3DoA7E/_new  2024-03-20 21:10:01.928440078 +0100
@@ -1,5 +1,5 @@
 #
-# spec file
+# spec file for package python-hypothesmith
 #
 # Copyright (c) 2024 SUSE LLC
 #
@@ -17,7 +17,6 @@
 
 
 %{?sle15_python_module_pythons}
-%define skip_python2 1
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %define psuffix -test
@@ -27,7 +26,7 @@
 %bcond_with test
 %endif
 Name:           python-hypothesmith%{psuffix}
-Version:        0.3.2
+Version:        0.3.3
 Release:        0
 Summary:        Hypothesis strategies for generating Python programs, 
something like CSmith
 License:        MPL-2.0

++++++ hypothesmith-0.3.2.tar.gz -> hypothesmith-0.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesmith-0.3.2/CHANGELOG.md 
new/hypothesmith-0.3.3/CHANGELOG.md
--- old/hypothesmith-0.3.2/CHANGELOG.md 2024-01-13 17:44:25.000000000 +0100
+++ new/hypothesmith-0.3.3/CHANGELOG.md 2024-02-16 21:20:34.000000000 +0100
@@ -1,5 +1,9 @@
 # Changelog
 
+### 0.3.3 - 2024-02-16
+- Add Python 3.12 and 3.13 to CI
+- Can now be imported on Python 3.13
+
 ### 0.3.2 - 2024-01-13
 - Performance improvements based on
   [Hypothesis 
6.93.0](https://hypothesis.readthedocs.io/en/latest/changes.html#v6-93-0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesmith-0.3.2/PKG-INFO 
new/hypothesmith-0.3.3/PKG-INFO
--- old/hypothesmith-0.3.2/PKG-INFO     2024-01-13 17:44:32.809634000 +0100
+++ new/hypothesmith-0.3.3/PKG-INFO     2024-02-16 21:20:46.524302500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: hypothesmith
-Version: 0.3.2
+Version: 0.3.3
 Summary: Hypothesis strategies for generating Python programs, something like 
CSmith
 Home-page: https://github.com/Zac-HD/hypothesmith
 Author: Zac Hatfield-Dodds
@@ -18,6 +18,7 @@
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
 Classifier: Topic :: Software Development :: Testing
 Requires-Python: >=3.8
 Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesmith-0.3.2/deps/check.txt 
new/hypothesmith-0.3.3/deps/check.txt
--- old/hypothesmith-0.3.2/deps/check.txt       2024-01-13 17:44:25.000000000 
+0100
+++ new/hypothesmith-0.3.3/deps/check.txt       2024-02-16 21:20:34.000000000 
+0100
@@ -10,9 +10,9 @@
     #   hypothesis
 autoflake==2.2.1
     # via shed
-bandit==1.7.6
+bandit==1.7.7
     # via flake8-bandit
-black==23.12.1
+black==24.2.0
     # via shed
 click==8.1.7
     # via black
@@ -29,17 +29,13 @@
     #   flake8-docstrings
 flake8-bandit==4.1.1
     # via -r deps/check.in
-flake8-bugbear==23.12.2
+flake8-bugbear==24.2.6
     # via -r deps/check.in
 flake8-comprehensions==3.14.0
     # via -r deps/check.in
 flake8-docstrings==1.7.0
     # via -r deps/check.in
-gitdb==4.0.11
-    # via gitpython
-gitpython==3.1.41
-    # via bandit
-hypothesis==6.93.0
+hypothesis==6.98.6
     # via -r deps/check.in
 isort==5.13.2
     # via shed
@@ -64,7 +60,7 @@
     # via black
 pbr==6.0.0
     # via stevedore
-platformdirs==4.1.0
+platformdirs==4.2.0
     # via black
 pycodestyle==2.11.1
     # via flake8
@@ -84,10 +80,8 @@
     #   libcst
 rich==13.7.0
     # via bandit
-shed==2023.6.1
+shed==2024.1.1
     # via -r deps/check.in
-smmap==5.0.1
-    # via gitdb
 snowballstemmer==2.2.0
     # via pydocstyle
 sortedcontainers==2.4.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesmith-0.3.2/deps/test.txt 
new/hypothesmith-0.3.3/deps/test.txt
--- old/hypothesmith-0.3.2/deps/test.txt        2024-01-13 17:44:25.000000000 
+0100
+++ new/hypothesmith-0.3.3/deps/test.txt        2024-02-16 21:20:34.000000000 
+0100
@@ -6,11 +6,11 @@
 #
 attrs==23.2.0
     # via hypothesis
-black==23.12.1
+black==24.2.0
     # via -r deps/test.in
 click==8.1.7
     # via black
-coverage[toml]==7.4.0
+coverage[toml]==7.4.1
     # via pytest-cov
 exceptiongroup==1.2.0
     # via
@@ -18,7 +18,7 @@
     #   pytest
 execnet==2.0.2
     # via pytest-xdist
-hypothesis[lark]==6.93.0
+hypothesis[lark]==6.98.6
     # via hypothesmith (setup.py)
 iniconfig==2.0.0
     # via pytest
@@ -38,11 +38,11 @@
     # via -r deps/test.in
 pathspec==0.12.1
     # via black
-platformdirs==4.1.0
+platformdirs==4.2.0
     # via black
-pluggy==1.3.0
+pluggy==1.4.0
     # via pytest
-pytest==7.4.4
+pytest==8.0.0
     # via
     #   -r deps/test.in
     #   pytest-cov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesmith-0.3.2/setup.py 
new/hypothesmith-0.3.3/setup.py
--- old/hypothesmith-0.3.2/setup.py     2024-01-13 17:44:25.000000000 +0100
+++ new/hypothesmith-0.3.3/setup.py     2024-02-16 21:20:34.000000000 +0100
@@ -45,6 +45,7 @@
         "Programming Language :: Python :: 3.9",
         "Programming Language :: Python :: 3.10",
         "Programming Language :: Python :: 3.11",
+        "Programming Language :: Python :: 3.12",
         "Topic :: Software Development :: Testing",
     ],
     long_description=open(README).read(),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesmith-0.3.2/src/hypothesmith/__init__.py 
new/hypothesmith-0.3.3/src/hypothesmith/__init__.py
--- old/hypothesmith-0.3.2/src/hypothesmith/__init__.py 2024-01-13 
17:44:25.000000000 +0100
+++ new/hypothesmith-0.3.3/src/hypothesmith/__init__.py 2024-02-16 
21:20:34.000000000 +0100
@@ -3,5 +3,5 @@
 from hypothesmith.cst import from_node
 from hypothesmith.syntactic import from_grammar
 
-__version__ = "0.3.2"
+__version__ = "0.3.3"
 __all__ = ["from_grammar", "from_node"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesmith-0.3.2/src/hypothesmith/syntactic.py 
new/hypothesmith-0.3.3/src/hypothesmith/syntactic.py
--- old/hypothesmith-0.3.2/src/hypothesmith/syntactic.py        2024-01-13 
17:44:25.000000000 +0100
+++ new/hypothesmith-0.3.3/src/hypothesmith/syntactic.py        2024-02-16 
21:20:34.000000000 +0100
@@ -3,8 +3,6 @@
 import ast
 import dis
 import sys
-import warnings
-from importlib.resources import read_text
 
 from hypothesis import assume, strategies as st
 from hypothesis.extra.lark import LarkStrategy
@@ -13,10 +11,16 @@
 
 # To update this grammar file, run
 # wget 
https://raw.githubusercontent.com/lark-parser/lark/master/lark/grammars/python.lark
 -O src/hypothesmith/python.lark
-with warnings.catch_warnings():
-    # `read_text()` is deprecated; I'll update once I've dropped 3.8 and 
earlier.
-    warnings.simplefilter("ignore")
+if sys.version_info < (3, 9):  # pragma: no cover
+    from importlib.resources import read_text
+
     LARK_GRAMMAR = read_text("hypothesmith", "python.lark")
+else:  # pragma: no cover  # not on py38, anyway
+    from importlib.resources import files
+
+    LARK_GRAMMAR = (
+        
files("hypothesmith").joinpath("python.lark").read_text(encoding="utf8")
+    )
 
 COMPILE_MODES = {
     "eval_input": "eval",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/hypothesmith-0.3.2/src/hypothesmith.egg-info/PKG-INFO 
new/hypothesmith-0.3.3/src/hypothesmith.egg-info/PKG-INFO
--- old/hypothesmith-0.3.2/src/hypothesmith.egg-info/PKG-INFO   2024-01-13 
17:44:32.000000000 +0100
+++ new/hypothesmith-0.3.3/src/hypothesmith.egg-info/PKG-INFO   2024-02-16 
21:20:46.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: hypothesmith
-Version: 0.3.2
+Version: 0.3.3
 Summary: Hypothesis strategies for generating Python programs, something like 
CSmith
 Home-page: https://github.com/Zac-HD/hypothesmith
 Author: Zac Hatfield-Dodds
@@ -18,6 +18,7 @@
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
 Classifier: Topic :: Software Development :: Testing
 Requires-Python: >=3.8
 Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesmith-0.3.2/tests/test_cst.py 
new/hypothesmith-0.3.3/tests/test_cst.py
--- old/hypothesmith-0.3.2/tests/test_cst.py    2024-01-13 17:44:25.000000000 
+0100
+++ new/hypothesmith-0.3.3/tests/test_cst.py    2024-02-16 21:20:34.000000000 
+0100
@@ -1,5 +1,7 @@
 """Tests for the hypothesmith.cst module."""
+
 import ast
+import sys
 from inspect import isabstract
 from operator import attrgetter
 
@@ -83,6 +85,7 @@
     compilable(s)
 
 
+@pytest.mark.xfail(sys.version_info >= (3, 13), reason="parso does not support 
3.13")
 @given(source_code=hypothesmith.from_node())
 def test_parso_from_node(source_code):
     result = parso.parse(source_code).get_code()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesmith-0.3.2/tests/test_syntactic.py 
new/hypothesmith-0.3.3/tests/test_syntactic.py
--- old/hypothesmith-0.3.2/tests/test_syntactic.py      2024-01-13 
17:44:25.000000000 +0100
+++ new/hypothesmith-0.3.3/tests/test_syntactic.py      2024-02-16 
21:20:34.000000000 +0100
@@ -1,6 +1,8 @@
 """Tests for the hypothesmith.syntactic module."""
+
 import ast
 import io
+import sys
 import tokenize
 
 import black
@@ -96,6 +98,7 @@
     compile(source_code, filename="<string>", mode="exec")
 
 
+@pytest.mark.xfail(sys.version_info >= (3, 13), reason="parso does not support 
3.13")
 @given(source_code=hypothesmith.from_grammar())
 def test_parso_from_grammar(source_code):
     result = parso.parse(source_code).get_code()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesmith-0.3.2/tests/test_version.py 
new/hypothesmith-0.3.3/tests/test_version.py
--- old/hypothesmith-0.3.2/tests/test_version.py        2024-01-13 
17:44:25.000000000 +0100
+++ new/hypothesmith-0.3.3/tests/test_version.py        2024-02-16 
21:20:34.000000000 +0100
@@ -1,4 +1,5 @@
 """Tests for the hypothesmith package metadata."""
+
 import re
 from datetime import date
 from functools import lru_cache
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesmith-0.3.2/tox.ini 
new/hypothesmith-0.3.3/tox.ini
--- old/hypothesmith-0.3.2/tox.ini      2024-01-13 17:44:25.000000000 +0100
+++ new/hypothesmith-0.3.3/tox.ini      2024-02-16 21:20:34.000000000 +0100
@@ -13,7 +13,7 @@
     flake8
     ; mypy --config-file=tox.ini src/hypothesmith/
 
-[testenv:test]
+[testenv:{py38-, py39-, py310-, py311-, py312-, py313-,}test]
 description = Runs pytest with posargs - `tox -e test -- -v` == `pytest -v`
 deps =
     --no-deps
@@ -24,6 +24,7 @@
 
 # Run `tox -e deps` to update pinned dependencies
 [testenv:deps]
+base_python = 3.10
 description = Updates pinned dependencies in the `deps/*.txt` files
 deps =
     pip-tools

Reply via email to