Bug 1705929
Summary: | python-emcee FTBFS (hangs) with Python 3.8 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> | ||||
Component: | python-emcee | Assignee: | Sergio Pascual <sergio.pasra> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | sergio.pasra | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-07-11 15:55:34 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1686977 | ||||||
Attachments: |
|
Please respond. I can disable the tests for the moment. There is a 3.0 RC on github, but the development is very slow (June-September 2018) so I don't think is a good idea packaging it for Fedora 31 I'm looking now into the specfile and I actually allowed failures in the check section with nosetests-%{python3_version} -v emcee || : Can this problem be a copr bug? In fact this failure has been reported upstream (In reply to Sergio Pascual from comment #3) > I'm looking now into the specfile and I actually allowed failures in the > check section with > > nosetests-%{python3_version} -v emcee || : This doesn't prevent a hang. > Can this problem be a copr bug? It can. Let's build on Python 3.7, to see: https://copr.fedorainfracloud.org/coprs/churchyard/dirty-tests/build/967603/ (In reply to Miro Hrončok from comment #5) > (In reply to Sergio Pascual from comment #3) > > Can this problem be a copr bug? > > It can. Let's build on Python 3.7, to see: > > > https://copr.fedorainfracloud.org/coprs/churchyard/dirty-tests/build/967603/ Successfully built. Ok, I have fixed the broken test and all the tests pass with python 3.7 https://koji.fedoraproject.org/koji/taskinfo?taskID=36182502 Could you test if it works know with Python 3.8? Seems to hang after the tests. https://copr.fedorainfracloud.org/coprs/g/python/python3.8/build/967651/ Let's skip the tests for python 3.8 then Do you know what kind of conditional could I use for that? # Tests hang on Python 3.8 %if %{python3_version_nodots} < 38 ...run the tests... %endif (In reply to Miro Hrončok from comment #10) > # Tests hang on Python 3.8 > %if %{python3_version_nodots} < 38 > ...run the tests... > %endif It is not working for me: %check # Tests hang on Python 3.8 %if %{python3_version_nodots} < 38 pushd %{buildroot}/%{python3_sitelib} nosetests-%{python3_version} -v emcee popd %endif and I get this: error: parse error in expression error: /builddir/build/SPECS/python-emcee.spec:50: bad %if condition: %{python3_version_nodots} < 38 Oh, right. Use 0%{?python3_version_nodots} Thanks. Not sure if this solution is good, but it works for now. |
Created attachment 1562244 [details] Full log from Copr python-emcee 2.2.1-13.fc31 Python 3.8 hangs in Copr for 21+ hours after a test failure. ====================================================================== ERROR: emcee.tests.Tests.test_nan_lnprob ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/builddir/build/BUILDROOT/python-emcee-2.2.1-13.fc31.x86_64/usr/lib/python3.8/site-packages/emcee/tests.py", line 184, in test_nan_lnprob self.check_sampler(p0=p0) File "/builddir/build/BUILDROOT/python-emcee-2.2.1-13.fc31.x86_64/usr/lib/python3.8/site-packages/emcee/tests.py", line 112, in check_sampler for i in self.sampler.sample(p0, iterations=N): File "/builddir/build/BUILDROOT/python-emcee-2.2.1-13.fc31.x86_64/usr/lib/python3.8/site-packages/emcee/ensemble.py", line 198, in sample lnprob, blobs = self._get_lnprob(p) File "/builddir/build/BUILDROOT/python-emcee-2.2.1-13.fc31.x86_64/usr/lib/python3.8/site-packages/emcee/ensemble.py", line 364, in _get_lnprob if np.any(np.isinf(p)): TypeError: ufunc 'isinf' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' ---------------------------------------------------------------------- Ran 9 tests in 96.299s FAILED (errors=1) !! Copr timeout => sending INT Full log attached.