Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1704924 - python-pynacl FTBFS with hypothesis 4
Summary: python-pynacl FTBFS with hypothesis 4
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pynacl
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-04-30 19:32 UTC by Miro Hrončok
Modified: 2019-05-02 23:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-02 23:52:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full log from Copr (176.92 KB, text/plain)
2019-04-30 19:32 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2019-04-30 19:32:52 UTC
Created attachment 1560498 [details]
Full log from Copr

python-pynacl-1.3.0-2.fc31:

+ py.test-2 -v
============================= test session starts ==============================
platform linux2 -- Python 2.7.16, pytest-4.4.1, py-1.8.0, pluggy-0.9.0 -- /usr/bin/python2
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/builddir/build/BUILD/pynacl-1.3.0/.hypothesis/examples')
rootdir: /builddir/build/BUILD/pynacl-1.3.0
plugins: hypothesis-4.9.0
collecting ... collected 4582 items / 2 errors / 4580 selected

==================================== ERRORS ====================================
___________________ ERROR collecting tests/test_bindings.py ____________________
tests/test_bindings.py:310: in <module>
    max_size=2049),
E   TypeError: binary() got an unexpected keyword argument 'average_size'
______________________ ERROR collecting tests/test_box.py ______________________
tests/test_box.py:21: in <module>
    from test_bindings import _box_from_seed_vectors
/usr/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:299: in load_module
    six.exec_(co, mod.__dict__)
/usr/lib/python2.7/site-packages/six.py:709: in exec_
    exec("""exec _code_ in _globs_, _locs_""")
<string>:1: in <module>
    ???
tests/test_bindings.py:310: in <module>
    max_size=2049),
E   TypeError: binary() got an unexpected keyword argument 'average_size'
=============================== warnings summary ===============================
/usr/lib/python2.7/site-packages/hypothesis/_settings.py:193
  /usr/lib/python2.7/site-packages/hypothesis/_settings.py:193: HypothesisDeprecationWarning: The timeout setting can safely be removed with no effect.
    verbosity=self.verbosity,

-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
===================== 1 warnings, 2 error in 4.75 seconds ======================

This blocks the Python 3.8 rebuild.

Full log attached.

Comment 1 Miro Hrončok 2019-05-02 23:37:55 UTC
This blocks ansible, so I'm gonna look into it.

Comment 2 Miro Hrončok 2019-05-02 23:44:40 UTC
It appears to be caused by a hypothesis update, not pytest.

Upstream fix: https://github.com/pyca/pynacl/pull/480

Running a scratchbuild.

Comment 3 Miro Hrončok 2019-05-02 23:52:09 UTC
it builds. Added the patch to git.


Note You need to log in before you can comment on or make changes to this bug.