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 2023-12-28 22:54:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hypothesmith (Old) and /work/SRC/openSUSE:Factory/.python-hypothesmith.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hypothesmith" Thu Dec 28 22:54:51 2023 rev:9 rq:1135285 version:0.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hypothesmith/python-hypothesmith.changes 2023-10-19 22:50:00.676289863 +0200 +++ /work/SRC/openSUSE:Factory/.python-hypothesmith.new.28375/python-hypothesmith.changes 2023-12-28 22:54:57.892193158 +0100 @@ -1,0 +2,8 @@ +Mon Dec 18 12:21:38 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 0.3.1: + * Hypothesis >= 6.89.0 made some internal changes which broke + our `from_grammar()`. This patch restores compatibility, and + requires the new Hypothesis. + +------------------------------------------------------------------- Old: ---- hypothesmith-0.3.0.tar.gz New: ---- hypothesmith-0.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hypothesmith.spec ++++++ --- /var/tmp/diff_new_pack.bIvkTt/_old 2023-12-28 22:54:58.504215500 +0100 +++ /var/tmp/diff_new_pack.bIvkTt/_new 2023-12-28 22:54:58.504215500 +0100 @@ -27,7 +27,7 @@ %bcond_with test %endif Name: python-hypothesmith%{psuffix} -Version: 0.3.0 +Version: 0.3.1 Release: 0 Summary: Hypothesis strategies for generating Python programs, something like CSmith License: MPL-2.0 @@ -38,13 +38,13 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-base >= 3.7 -Requires: python-hypothesis >= 6.58.1 +Requires: python-hypothesis >= 6.89.0 Requires: python-lark >= 0.10.1 Requires: python-libcst >= 0.4.0 %if %{with test} BuildRequires: %{python_module black} BuildRequires: %{python_module exceptiongroup} -BuildRequires: %{python_module hypothesis >= 6.84.1} +BuildRequires: %{python_module hypothesis >= 6.89.0} BuildRequires: %{python_module lark >= 0.10.1} BuildRequires: %{python_module libcst >= 0.4.0} BuildRequires: %{python_module parso} ++++++ hypothesmith-0.3.0.tar.gz -> hypothesmith-0.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hypothesmith-0.3.0/CHANGELOG.md new/hypothesmith-0.3.1/CHANGELOG.md --- old/hypothesmith-0.3.0/CHANGELOG.md 2023-09-06 19:12:48.000000000 +0200 +++ new/hypothesmith-0.3.1/CHANGELOG.md 2023-11-17 20:00:39.000000000 +0100 @@ -1,5 +1,9 @@ # Changelog +### 0.3.1 - 2023-09-06 +- Hypothesis >= 6.89.0 made some internal changes which broke our `from_grammar()`. + This patch restores compatibility, and requires the new Hypothesis. + ### 0.3.0 - 2023-09-06 - Even more efficient generation of Python identifiers, using [Hypothesis 6.84.1](https://hypothesis.readthedocs.io/en/latest/changes.html#v6-84-1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hypothesmith-0.3.0/PKG-INFO new/hypothesmith-0.3.1/PKG-INFO --- old/hypothesmith-0.3.0/PKG-INFO 2023-09-06 19:13:00.711630800 +0200 +++ new/hypothesmith-0.3.1/PKG-INFO 2023-11-17 20:00:50.726210400 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hypothesmith -Version: 0.3.0 +Version: 0.3.1 Summary: Hypothesis strategies for generating Python programs, something like CSmith Home-page: https://github.com/Zac-HD/hypothesmith Author: Zac Hatfield-Dodds @@ -22,6 +22,8 @@ Requires-Python: >=3.8 Description-Content-Type: text/markdown License-File: LICENSE +Requires-Dist: hypothesis[lark]>=6.84.1 +Requires-Dist: libcst>=1.0.1 # hypothesmith Hypothesis strategies for generating Python programs, something like CSmith. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hypothesmith-0.3.0/deps/check.txt new/hypothesmith-0.3.1/deps/check.txt --- old/hypothesmith-0.3.0/deps/check.txt 2023-09-06 19:12:48.000000000 +0200 +++ new/hypothesmith-0.3.1/deps/check.txt 2023-11-17 20:00:39.000000000 +0100 @@ -12,7 +12,7 @@ # via shed bandit==1.7.5 # via flake8-bandit -black==23.7.0 +black==23.11.0 # via shed click==8.1.7 # via black @@ -29,21 +29,21 @@ # flake8-docstrings flake8-bandit==4.1.1 # via -r deps/check.in -flake8-bugbear==23.7.10 +flake8-bugbear==23.9.16 # 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.10 +gitdb==4.0.11 # via gitpython -gitpython==3.1.34 +gitpython==3.1.40 # via bandit -hypothesis==6.84.1 +hypothesis==6.89.0 # via -r deps/check.in isort==5.12.0 # via shed -libcst==1.0.1 +libcst==1.1.0 # via shed markdown-it-py==3.0.0 # via rich @@ -51,22 +51,22 @@ # via flake8 mdurl==0.1.2 # via markdown-it-py -mypy==1.5.1 +mypy==1.7.0 # via -r deps/check.in mypy-extensions==1.0.0 # via # black # mypy # typing-inspect -packaging==23.1 +packaging==23.2 # via black pathspec==0.11.2 # via black -pbr==5.11.1 +pbr==6.0.0 # via stevedore -platformdirs==3.10.0 +platformdirs==4.0.0 # via black -pycodestyle==2.11.0 +pycodestyle==2.11.1 # via flake8 pydocstyle==6.3.0 # via flake8-docstrings @@ -76,17 +76,17 @@ # flake8 pygments==2.16.1 # via rich -pyupgrade==3.10.1 +pyupgrade==3.15.0 # via shed pyyaml==6.0.1 # via # bandit # libcst -rich==13.5.2 +rich==13.7.0 # via bandit shed==2023.6.1 # via -r deps/check.in -smmap==5.0.0 +smmap==5.0.1 # via gitdb snowballstemmer==2.2.0 # via pydocstyle @@ -101,8 +101,9 @@ # autoflake # black # mypy -typing-extensions==4.7.1 +typing-extensions==4.8.0 # via + # black # libcst # mypy # typing-inspect diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hypothesmith-0.3.0/deps/test.txt new/hypothesmith-0.3.1/deps/test.txt --- old/hypothesmith-0.3.0/deps/test.txt 2023-09-06 19:12:48.000000000 +0200 +++ new/hypothesmith-0.3.1/deps/test.txt 2023-11-17 20:00:39.000000000 +0100 @@ -6,11 +6,11 @@ # attrs==23.1.0 # via hypothesis -black==23.7.0 +black==23.11.0 # via -r deps/test.in click==8.1.7 # via black -coverage[toml]==7.3.0 +coverage[toml]==7.3.2 # via pytest-cov exceptiongroup==1.1.3 # via @@ -18,19 +18,19 @@ # pytest execnet==2.0.2 # via pytest-xdist -hypothesis[lark]==6.84.1 +hypothesis[lark]==6.89.0 # via hypothesmith (setup.py) iniconfig==2.0.0 # via pytest -lark==1.1.7 +lark==1.1.8 # via hypothesis -libcst==1.0.1 +libcst==1.1.0 # via hypothesmith (setup.py) mypy-extensions==1.0.0 # via # black # typing-inspect -packaging==23.1 +packaging==23.2 # via # black # pytest @@ -38,18 +38,18 @@ # via -r deps/test.in pathspec==0.11.2 # via black -platformdirs==3.10.0 +platformdirs==4.0.0 # via black pluggy==1.3.0 # via pytest -pytest==7.4.1 +pytest==7.4.3 # via # -r deps/test.in # pytest-cov # pytest-xdist pytest-cov==4.1.0 # via -r deps/test.in -pytest-xdist==3.3.1 +pytest-xdist==3.4.0 # via -r deps/test.in pyyaml==6.0.1 # via libcst @@ -60,8 +60,9 @@ # black # coverage # pytest -typing-extensions==4.7.1 +typing-extensions==4.8.0 # via + # black # libcst # typing-inspect typing-inspect==0.9.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hypothesmith-0.3.0/src/hypothesmith/__init__.py new/hypothesmith-0.3.1/src/hypothesmith/__init__.py --- old/hypothesmith-0.3.0/src/hypothesmith/__init__.py 2023-09-06 19:12:48.000000000 +0200 +++ new/hypothesmith-0.3.1/src/hypothesmith/__init__.py 2023-11-17 20:00:39.000000000 +0100 @@ -3,5 +3,5 @@ from hypothesmith.cst import from_node from hypothesmith.syntactic import from_grammar -__version__ = "0.3.0" +__version__ = "0.3.1" __all__ = ["from_grammar", "from_node"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hypothesmith-0.3.0/src/hypothesmith/syntactic.py new/hypothesmith-0.3.1/src/hypothesmith/syntactic.py --- old/hypothesmith-0.3.0/src/hypothesmith/syntactic.py 2023-09-06 19:12:48.000000000 +0200 +++ new/hypothesmith-0.3.1/src/hypothesmith/syntactic.py 2023-11-17 20:00:39.000000000 +0100 @@ -80,12 +80,12 @@ return result def draw_symbol(self, data, symbol, draw_state): # type: ignore - count = len(draw_state.result) + count = len(draw_state) super().draw_symbol(data, symbol, draw_state) if symbol.name in COMPILE_MODES: try: compile( - source="".join(draw_state.result[count:]), + source="".join(draw_state[count:]), filename="<string>", mode=COMPILE_MODES[symbol.name], ) @@ -108,7 +108,7 @@ # Or the new https://bugs.python.org/issue45738 which makes me # wish CPython would start running proptests in CI already. assume(False) - source_code = ascii("".join(draw_state.result[count:])) + source_code = ascii("".join(draw_state[count:])) raise type(err)( f"compile({source_code}, '<string>', " f"{COMPILE_MODES[symbol.name]!r}) " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hypothesmith-0.3.0/src/hypothesmith.egg-info/PKG-INFO new/hypothesmith-0.3.1/src/hypothesmith.egg-info/PKG-INFO --- old/hypothesmith-0.3.0/src/hypothesmith.egg-info/PKG-INFO 2023-09-06 19:13:00.000000000 +0200 +++ new/hypothesmith-0.3.1/src/hypothesmith.egg-info/PKG-INFO 2023-11-17 20:00:50.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hypothesmith -Version: 0.3.0 +Version: 0.3.1 Summary: Hypothesis strategies for generating Python programs, something like CSmith Home-page: https://github.com/Zac-HD/hypothesmith Author: Zac Hatfield-Dodds @@ -22,6 +22,8 @@ Requires-Python: >=3.8 Description-Content-Type: text/markdown License-File: LICENSE +Requires-Dist: hypothesis[lark]>=6.84.1 +Requires-Dist: libcst>=1.0.1 # hypothesmith Hypothesis strategies for generating Python programs, something like CSmith.