Hello community,
here is the log from the commit of package python-hypothesmith for
openSUSE:Factory checked in at 2020-11-17 21:21:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hypothesmith (Old)
and /work/SRC/openSUSE:Factory/.python-hypothesmith.new.24930 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hypothesmith"
Tue Nov 17 21:21:13 2020 rev:3 rq:848495 version:0.1.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hypothesmith/python-hypothesmith.changes
2020-08-25 12:38:41.313413578 +0200
+++
/work/SRC/openSUSE:Factory/.python-hypothesmith.new.24930/python-hypothesmith.changes
2020-11-17 21:21:16.205084514 +0100
@@ -1,0 +2,9 @@
+Sat Nov 14 05:23:01 UTC 2020 - John Vandenberg <[email protected]>
+
+- Update to v0.1.6
+ * Improved error messages from internal compiler errors again
+ * Bumped Hypothesis requirement to version 5.39 or later
+- from v0.1.5
+ * Emit additional debug info when Python fails to compile a string
+
+-------------------------------------------------------------------
Old:
----
hypothesmith-0.1.4.tar.gz
hypothesmith-gh-0.1.4.tar.gz
New:
----
hypothesmith-0.1.6.tar.gz
hypothesmith-gh-0.1.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hypothesmith.spec ++++++
--- /var/tmp/diff_new_pack.r6Zy8J/_old 2020-11-17 21:21:17.217086043 +0100
+++ /var/tmp/diff_new_pack.r6Zy8J/_new 2020-11-17 21:21:17.221086048 +0100
@@ -20,7 +20,7 @@
%define skip_python2 1
# no release tags in repository, but we need LICENSE and tests not
# packaged in PyPI source https://github.com/Zac-HD/hypothesmith/issues/5
-%define commithash 6124cd71317add93500e0cb04c98cf5606adedea
+%define commithash 40947c2e590f06ea5f3b88c6e75d8a98e9443c63
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -30,7 +30,7 @@
%bcond_with test
%endif
Name: python-hypothesmith%{psuffix}
-Version: 0.1.4
+Version: 0.1.6
Release: 0
Summary: Hypothesis strategies for generating Python programs,
something like CSmith
License: MPL-2.0
++++++ hypothesmith-0.1.4.tar.gz -> hypothesmith-0.1.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hypothesmith-0.1.4/PKG-INFO
new/hypothesmith-0.1.6/PKG-INFO
--- old/hypothesmith-0.1.4/PKG-INFO 2020-08-17 06:18:13.808235200 +0200
+++ new/hypothesmith-0.1.6/PKG-INFO 2020-11-01 14:21:03.061625000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: hypothesmith
-Version: 0.1.4
+Version: 0.1.6
Summary: Hypothesis strategies for generating Python programs, something like
CSmith
Home-page: https://github.com/Zac-HD/hypothesmith
Author: Zac Hatfield-Dodds
@@ -59,6 +59,7 @@
- [BPO-40661, a segfault in the new
parser](https://bugs.python.org/issue40661),
was given maximum priority and blocked the planned release of
CPython 3.9 beta1.
- [BPO-38953](https://bugs.python.org/issue38953) `tokenize` ->
`untokenize` roundtrip bugs.
+ - [BPO-42218](https://bugs.python.org/issue42218) mishandled error
case in new PEG parser.
- [`lib2to3` errors on \r in
comment](https://github.com/psf/black/issues/970)
- [Black fails on files ending in a
backslash](https://github.com/psf/black/issues/1012)
- [At least three round-trip bugs in
LibCST](https://github.com/Instagram/LibCST#acknowledgements)
@@ -71,7 +72,7 @@
Keywords: python testing fuzzing property-based-testing
Platform: UNKNOWN
-Classifier: Development Status :: 2 - Pre-Alpha
+Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Hypothesis
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
@@ -80,6 +81,7 @@
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.6
Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hypothesmith-0.1.4/README.md
new/hypothesmith-0.1.6/README.md
--- old/hypothesmith-0.1.4/README.md 2020-08-17 06:18:03.000000000 +0200
+++ new/hypothesmith-0.1.6/README.md 2020-11-01 14:20:53.000000000 +0100
@@ -50,6 +50,7 @@
- [BPO-40661, a segfault in the new
parser](https://bugs.python.org/issue40661),
was given maximum priority and blocked the planned release of CPython 3.9
beta1.
- [BPO-38953](https://bugs.python.org/issue38953) `tokenize` -> `untokenize`
roundtrip bugs.
+- [BPO-42218](https://bugs.python.org/issue42218) mishandled error case in new
PEG parser.
- [`lib2to3` errors on \r in comment](https://github.com/psf/black/issues/970)
- [Black fails on files ending in a
backslash](https://github.com/psf/black/issues/1012)
- [At least three round-trip bugs in
LibCST](https://github.com/Instagram/LibCST#acknowledgements)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hypothesmith-0.1.4/setup.py
new/hypothesmith-0.1.6/setup.py
--- old/hypothesmith-0.1.4/setup.py 2020-08-17 06:18:03.000000000 +0200
+++ new/hypothesmith-0.1.6/setup.py 2020-11-01 14:20:53.000000000 +0100
@@ -32,10 +32,10 @@
license="MPL 2.0",
description="Hypothesis strategies for generating Python programs,
something like CSmith",
zip_safe=False,
- install_requires=["hypothesis>=5.23.7", "lark-parser>=0.7.2",
"libcst>=0.3.8"],
+ install_requires=["hypothesis>=5.39.0", "lark-parser>=0.7.2",
"libcst>=0.3.8"],
python_requires=">=3.6",
classifiers=[
- "Development Status :: 2 - Pre-Alpha",
+ "Development Status :: 4 - Beta",
"Framework :: Hypothesis",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
@@ -44,6 +44,7 @@
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Testing",
],
long_description=open(README).read(),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hypothesmith-0.1.4/src/hypothesmith/__init__.py
new/hypothesmith-0.1.6/src/hypothesmith/__init__.py
--- old/hypothesmith-0.1.4/src/hypothesmith/__init__.py 2020-08-17
06:18:03.000000000 +0200
+++ new/hypothesmith-0.1.6/src/hypothesmith/__init__.py 2020-11-01
14:20:53.000000000 +0100
@@ -3,5 +3,5 @@
from hypothesmith.cst import from_node
from hypothesmith.syntactic import from_grammar
-__version__ = "0.1.4"
+__version__ = "0.1.6"
__all__ = ["from_grammar", "from_node"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hypothesmith-0.1.4/src/hypothesmith/cst.py
new/hypothesmith-0.1.6/src/hypothesmith/cst.py
--- old/hypothesmith-0.1.4/src/hypothesmith/cst.py 2020-08-17
06:18:03.000000000 +0200
+++ new/hypothesmith-0.1.6/src/hypothesmith/cst.py 2020-11-01
14:20:53.000000000 +0100
@@ -34,7 +34,7 @@
# type-ignore comments are special in the 3.8+ (typed) ast, so boost their
chances)
_comments = st.from_regex(libcst._nodes.whitespace.COMMENT_RE, fullmatch=True)
st.register_type_strategy(
- libcst.Comment, st.builds(libcst.Comment, _comments | st.just("# type:
ignore")),
+ libcst.Comment, st.builds(libcst.Comment, _comments | st.just("# type:
ignore"))
)
# `from_type()` has less laziness than other strategies, we we register for
these
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hypothesmith-0.1.4/src/hypothesmith/syntactic.py
new/hypothesmith-0.1.6/src/hypothesmith/syntactic.py
--- old/hypothesmith-0.1.4/src/hypothesmith/syntactic.py 2020-08-17
06:18:03.000000000 +0200
+++ new/hypothesmith-0.1.6/src/hypothesmith/syntactic.py 2020-11-01
14:20:53.000000000 +0100
@@ -112,18 +112,19 @@
filename="<string>",
mode=COMPILE_MODES[symbol.name],
)
- except SystemError as err: # pragma: no cover
- # Extra output to help track down a possible upstream issue
- # https://github.com/Zac-HD/stdlib-property-tests/issues/14
- source_code = "".join(draw_state.result[count:])
- raise Exception(
- f"unexpected error while attempting to compile
{source_code!r}"
- f" in mode={COMPILE_MODES[symbol.name]}"
- ) from err
except SyntaxError:
# Python's grammar doesn't actually fully describe the
behaviour of the
# CPython parser and AST-post-processor, so we just filter out
errors.
assume(False)
+ except Exception as err: # pragma: no cover
+ # Extra output to help track down a possible upstream issue
+ # https://github.com/Zac-HD/stdlib-property-tests/issues/14
+ source_code = ascii("".join(draw_state.result[count:]))
+ raise type(err)(
+ f"compile({source_code}, '<string>', "
+ f"{COMPILE_MODES[symbol.name]!r}) "
+ f"raised {type(err).__name__}: {str(err)}"
+ ) from err
def gen_ignore(self, data, draw_state): # type: ignore
# Set a consistent 1/4 chance of generating any ignored tokens
(comments,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-0.1.4/src/hypothesmith.egg-info/PKG-INFO
new/hypothesmith-0.1.6/src/hypothesmith.egg-info/PKG-INFO
--- old/hypothesmith-0.1.4/src/hypothesmith.egg-info/PKG-INFO 2020-08-17
06:18:13.000000000 +0200
+++ new/hypothesmith-0.1.6/src/hypothesmith.egg-info/PKG-INFO 2020-11-01
14:21:02.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: hypothesmith
-Version: 0.1.4
+Version: 0.1.6
Summary: Hypothesis strategies for generating Python programs, something like
CSmith
Home-page: https://github.com/Zac-HD/hypothesmith
Author: Zac Hatfield-Dodds
@@ -59,6 +59,7 @@
- [BPO-40661, a segfault in the new
parser](https://bugs.python.org/issue40661),
was given maximum priority and blocked the planned release of
CPython 3.9 beta1.
- [BPO-38953](https://bugs.python.org/issue38953) `tokenize` ->
`untokenize` roundtrip bugs.
+ - [BPO-42218](https://bugs.python.org/issue42218) mishandled error
case in new PEG parser.
- [`lib2to3` errors on \r in
comment](https://github.com/psf/black/issues/970)
- [Black fails on files ending in a
backslash](https://github.com/psf/black/issues/1012)
- [At least three round-trip bugs in
LibCST](https://github.com/Instagram/LibCST#acknowledgements)
@@ -71,7 +72,7 @@
Keywords: python testing fuzzing property-based-testing
Platform: UNKNOWN
-Classifier: Development Status :: 2 - Pre-Alpha
+Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Hypothesis
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
@@ -80,6 +81,7 @@
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.6
Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-0.1.4/src/hypothesmith.egg-info/requires.txt
new/hypothesmith-0.1.6/src/hypothesmith.egg-info/requires.txt
--- old/hypothesmith-0.1.4/src/hypothesmith.egg-info/requires.txt
2020-08-17 06:18:13.000000000 +0200
+++ new/hypothesmith-0.1.6/src/hypothesmith.egg-info/requires.txt
2020-11-01 14:21:02.000000000 +0100
@@ -1,3 +1,3 @@
-hypothesis>=5.23.7
+hypothesis>=5.39.0
lark-parser>=0.7.2
libcst>=0.3.8
++++++ hypothesmith-gh-0.1.4.tar.gz -> hypothesmith-gh-0.1.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/.github/workflows/ci.yml
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/.github/workflows/ci.yml
---
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/.github/workflows/ci.yml
2020-08-17 06:01:20.000000000 +0200
+++
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/.github/workflows/ci.yml
2020-11-01 14:04:17.000000000 +0100
@@ -16,17 +16,19 @@
with:
python-version: 3.8
- name: Install dependencies
- run: python -m pip install --upgrade pip setuptools tox
+ run: |
+ python -m pip install --upgrade pip setuptools tox
+ python -m tox --notest --recreate -e check
- name: Run checks
run: |
- python -m tox --recreate -e check
+ python -m tox -e check
git diff --exit-code
test:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: [3.6, 3.7, 3.8, "3.9-dev"]
+ python-version: [3.6, 3.7, 3.8, 3.9]
fail-fast: false
steps:
- uses: actions/checkout@v2
@@ -35,9 +37,11 @@
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- run: python -m pip install --upgrade pip setuptools tox
+ run: |
+ python -m pip install --upgrade pip setuptools tox
+ python -m tox --notest --recreate -e test
- name: Run tests
- run: python -m tox --recreate -e test -- -n auto
+ run: python -m tox -e test -- -n auto
release:
runs-on: ubuntu-latest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/CHANGELOG.md
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/CHANGELOG.md
--- old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/CHANGELOG.md
2020-08-17 06:01:20.000000000 +0200
+++ new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/CHANGELOG.md
2020-11-01 14:04:17.000000000 +0100
@@ -1,5 +1,13 @@
# Changelog
+### 0.1.6 - 2020-11-01
+- Improved error messages from internal compiler errors *again*
+ ([BPO-42218](https://bugs.python.org/issue42218) will be fixed in Python
3.9.1)
+- Bumped Hypothesis requirement to version 5.39 or later
+
+### 0.1.5 - 2020-10-12
+- Emit additional debug info when Python fails to compile a string
+
### 0.1.4 - 2020-08-16
- Improve handling of identifiers
- Fix internal error in `from_grammar("single_input")`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/README.md
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/README.md
--- old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/README.md
2020-08-17 06:01:20.000000000 +0200
+++ new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/README.md
2020-11-01 14:04:17.000000000 +0100
@@ -50,6 +50,7 @@
- [BPO-40661, a segfault in the new
parser](https://bugs.python.org/issue40661),
was given maximum priority and blocked the planned release of CPython 3.9
beta1.
- [BPO-38953](https://bugs.python.org/issue38953) `tokenize` -> `untokenize`
roundtrip bugs.
+- [BPO-42218](https://bugs.python.org/issue42218) mishandled error case in new
PEG parser.
- [`lib2to3` errors on \r in comment](https://github.com/psf/black/issues/970)
- [Black fails on files ending in a
backslash](https://github.com/psf/black/issues/1012)
- [At least three round-trip bugs in
LibCST](https://github.com/Instagram/LibCST#acknowledgements)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/deps/check.txt
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/deps/check.txt
--- old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/deps/check.txt
2020-08-17 06:01:20.000000000 +0200
+++ new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/deps/check.txt
2020-11-01 14:04:17.000000000 +0100
@@ -5,45 +5,45 @@
# pip-compile --output-file=deps/check.txt deps/check.in
#
appdirs==1.4.4 # via black
-attrs==19.3.0 # via black, flake8-bugbear
-autoflake==1.3.1 # via shed
+attrs==20.2.0 # via flake8-bugbear
+autoflake==1.4 # via shed
bandit==1.6.2 # via flake8-bandit
-black==19.10b0 # via shed
+black==20.8b1 # via shed
click==7.1.2 # via black, pybetter, pyemojify
-colorama==0.4.3 # via bandit
+colorama==0.4.4 # via bandit
flake8-bandit==2.1.2 # via -r deps/check.in
flake8-bugbear==20.1.4 # via -r deps/check.in
-flake8-comprehensions==3.2.3 # via -r deps/check.in
+flake8-comprehensions==3.3.0 # via -r deps/check.in
flake8-docstrings==1.5.0 # via -r deps/check.in
flake8-polyfill==1.0.2 # via flake8-bandit
-flake8==3.8.3 # via -r deps/check.in, flake8-bandit,
flake8-bugbear, flake8-comprehensions, flake8-docstrings, flake8-polyfill
+flake8==3.8.4 # via -r deps/check.in, flake8-bandit,
flake8-bugbear, flake8-comprehensions, flake8-docstrings, flake8-polyfill
gitdb==4.0.5 # via gitpython
-gitpython==3.1.7 # via bandit
-importlib-metadata==1.7.0 # via flake8, flake8-comprehensions, stevedore
-isort==5.4.2 # via shed
-libcst==0.3.9 # via pybetter
+gitpython==3.1.11 # via bandit
+importlib-metadata==2.0.0 # via flake8, flake8-comprehensions, stevedore
+isort==5.6.4 # via shed
+libcst==0.3.13 # via pybetter
mccabe==0.6.1 # via flake8
-mypy-extensions==0.4.3 # via mypy, typing-inspect
-mypy==0.782 # via -r deps/check.in
+mypy-extensions==0.4.3 # via black, mypy, typing-inspect
+mypy==0.790 # via -r deps/check.in
pathspec==0.8.0 # via black
-pbr==5.4.5 # via stevedore
+pbr==5.5.1 # via stevedore
pybetter==0.3.5 # via shed
pycodestyle==2.6.0 # via flake8, flake8-bandit
-pydocstyle==5.0.2 # via flake8-docstrings
+pydocstyle==5.1.1 # via flake8-docstrings
pyemojify==0.2.0 # via pybetter
pyflakes==2.2.0 # via autoflake, flake8
-pygments==2.6.1 # via pybetter
-pyupgrade==2.7.2 # via shed
+pygments==2.7.2 # via pybetter
+pyupgrade==2.7.3 # via shed
pyyaml==5.3.1 # via bandit, libcst
-regex==2020.7.14 # via black
-shed==0.2.2 # via -r deps/check.in
+regex==2020.10.28 # via black
+shed==0.2.4 # via -r deps/check.in
six==1.15.0 # via bandit
smmap==3.0.4 # via gitdb
snowballstemmer==2.0.0 # via pydocstyle
-stevedore==3.2.0 # via bandit
+stevedore==3.2.2 # via bandit
tokenize-rt==4.0.0 # via pyupgrade
-toml==0.10.1 # via black
+toml==0.10.2 # via black
typed-ast==1.4.1 # via black, mypy
-typing-extensions==3.7.4.2 # via libcst, mypy, typing-inspect
+typing-extensions==3.7.4.3 # via black, libcst, mypy, typing-inspect
typing-inspect==0.6.0 # via libcst
-zipp==3.1.0 # via importlib-metadata
+zipp==3.4.0 # via importlib-metadata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/deps/test.txt
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/deps/test.txt
--- old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/deps/test.txt
2020-08-17 06:01:20.000000000 +0200
+++ new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/deps/test.txt
2020-11-01 14:04:17.000000000 +0100
@@ -7,36 +7,34 @@
apipkg==1.5 # via execnet
appdirs==1.4.4 # via black
atomicwrites==1.4.0 # via pytest
-attrs==19.3.0 # via black, hypothesis, pytest
-black==19.10b0 # via -r deps/test.in
+attrs==20.2.0 # via hypothesis, pytest
+black==20.8b1 # via -r deps/test.in
click==7.1.2 # via black
-colorama==0.4.3 # via pytest
-coverage==5.2.1 # via pytest-cov
+colorama==0.4.4 # via pytest
+coverage==5.3 # via pytest-cov
execnet==1.7.1 # via pytest-xdist
-hypothesis==5.24.4 # via hypothesmith (setup.py)
-importlib-metadata==1.7.0 # via pluggy, pytest
-iniconfig==1.0.1 # via pytest
-lark-parser==0.9.0 # via hypothesmith (setup.py)
-libcst==0.3.9 # via hypothesmith (setup.py)
-more-itertools==8.4.0 # via pytest
-mypy-extensions==0.4.3 # via typing-inspect
+hypothesis==5.41.0 # via hypothesmith (setup.py)
+importlib-metadata==2.0.0 # via pluggy, pytest
+iniconfig==1.1.1 # via pytest
+lark-parser==0.10.1 # via hypothesmith (setup.py)
+libcst==0.3.13 # via hypothesmith (setup.py)
+mypy-extensions==0.4.3 # via black, typing-inspect
packaging==20.4 # via pytest
parso==0.8.0 # via -r deps/test.in
pathspec==0.8.0 # via black
pluggy==0.13.1 # via pytest
-psutil==5.7.2 # via pytest-xdist
py==1.9.0 # via pytest, pytest-forked
pyparsing==2.4.7 # via packaging
pytest-cov==2.10.1 # via -r deps/test.in
pytest-forked==1.3.0 # via pytest-xdist
-pytest-xdist==2.0.0 # via -r deps/test.in
-pytest==6.0.1 # via -r deps/test.in, pytest-cov, pytest-forked,
pytest-xdist
+pytest-xdist==2.1.0 # via -r deps/test.in
+pytest==6.1.2 # via -r deps/test.in, pytest-cov, pytest-forked,
pytest-xdist
pyyaml==5.3.1 # via libcst
-regex==2020.7.14 # via black
+regex==2020.10.28 # via black
six==1.15.0 # via packaging
sortedcontainers==2.2.2 # via hypothesis
-toml==0.10.1 # via black, pytest
+toml==0.10.2 # via black, pytest
typed-ast==1.4.1 # via black
-typing-extensions==3.7.4.2 # via libcst, typing-inspect
+typing-extensions==3.7.4.3 # via black, libcst, typing-inspect
typing-inspect==0.6.0 # via libcst
-zipp==3.1.0 # via importlib-metadata
+zipp==3.4.0 # via importlib-metadata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/setup.py
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/setup.py
--- old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/setup.py
2020-08-17 06:01:20.000000000 +0200
+++ new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/setup.py
2020-11-01 14:04:17.000000000 +0100
@@ -32,10 +32,10 @@
license="MPL 2.0",
description="Hypothesis strategies for generating Python programs,
something like CSmith",
zip_safe=False,
- install_requires=["hypothesis>=5.23.7", "lark-parser>=0.7.2",
"libcst>=0.3.8"],
+ install_requires=["hypothesis>=5.39.0", "lark-parser>=0.7.2",
"libcst>=0.3.8"],
python_requires=">=3.6",
classifiers=[
- "Development Status :: 2 - Pre-Alpha",
+ "Development Status :: 4 - Beta",
"Framework :: Hypothesis",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
@@ -44,6 +44,7 @@
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Testing",
],
long_description=open(README).read(),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/src/hypothesmith/__init__.py
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/src/hypothesmith/__init__.py
---
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/src/hypothesmith/__init__.py
2020-08-17 06:01:20.000000000 +0200
+++
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/src/hypothesmith/__init__.py
2020-11-01 14:04:17.000000000 +0100
@@ -3,5 +3,5 @@
from hypothesmith.cst import from_node
from hypothesmith.syntactic import from_grammar
-__version__ = "0.1.4"
+__version__ = "0.1.6"
__all__ = ["from_grammar", "from_node"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/src/hypothesmith/cst.py
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/src/hypothesmith/cst.py
---
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/src/hypothesmith/cst.py
2020-08-17 06:01:20.000000000 +0200
+++
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/src/hypothesmith/cst.py
2020-11-01 14:04:17.000000000 +0100
@@ -34,7 +34,7 @@
# type-ignore comments are special in the 3.8+ (typed) ast, so boost their
chances)
_comments = st.from_regex(libcst._nodes.whitespace.COMMENT_RE, fullmatch=True)
st.register_type_strategy(
- libcst.Comment, st.builds(libcst.Comment, _comments | st.just("# type:
ignore")),
+ libcst.Comment, st.builds(libcst.Comment, _comments | st.just("# type:
ignore"))
)
# `from_type()` has less laziness than other strategies, we we register for
these
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/src/hypothesmith/syntactic.py
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/src/hypothesmith/syntactic.py
---
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/src/hypothesmith/syntactic.py
2020-08-17 06:01:20.000000000 +0200
+++
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/src/hypothesmith/syntactic.py
2020-11-01 14:04:17.000000000 +0100
@@ -112,18 +112,19 @@
filename="<string>",
mode=COMPILE_MODES[symbol.name],
)
- except SystemError as err: # pragma: no cover
- # Extra output to help track down a possible upstream issue
- # https://github.com/Zac-HD/stdlib-property-tests/issues/14
- source_code = "".join(draw_state.result[count:])
- raise Exception(
- f"unexpected error while attempting to compile
{source_code!r}"
- f" in mode={COMPILE_MODES[symbol.name]}"
- ) from err
except SyntaxError:
# Python's grammar doesn't actually fully describe the
behaviour of the
# CPython parser and AST-post-processor, so we just filter out
errors.
assume(False)
+ except Exception as err: # pragma: no cover
+ # Extra output to help track down a possible upstream issue
+ # https://github.com/Zac-HD/stdlib-property-tests/issues/14
+ source_code = ascii("".join(draw_state.result[count:]))
+ raise type(err)(
+ f"compile({source_code}, '<string>', "
+ f"{COMPILE_MODES[symbol.name]!r}) "
+ f"raised {type(err).__name__}: {str(err)}"
+ ) from err
def gen_ignore(self, data, draw_state): # type: ignore
# Set a consistent 1/4 chance of generating any ignored tokens
(comments,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/tox.ini
new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/tox.ini
--- old/hypothesmith-6124cd71317add93500e0cb04c98cf5606adedea/tox.ini
2020-08-17 06:01:20.000000000 +0200
+++ new/hypothesmith-40947c2e590f06ea5f3b88c6e75d8a98e9443c63/tox.ini
2020-11-01 14:04:17.000000000 +0100
@@ -8,6 +8,7 @@
deps =
--no-deps
--requirement deps/check.txt
+ com2ann ; python_version >= '3.8'
commands =
shed
flake8
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]