FTBFS on amd64 due to pytest.py error

Bug #1502941 reported by Łukasz Zemczak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wheel (Debian)
Fix Released
Unknown
wheel (Ubuntu)
Fix Released
Undecided
Łukasz Zemczak

Bug Description

Failure on amd64 as seen in the test-rebuild [1]. Build log:

   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:170: cd /tmp/ble/wheel-0.24.0/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest
usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]
pytest.py: error: unrecognized arguments: --cov=wheel
E: pybuild pybuild:262: test: plugin distutils failed with: exit code=2: cd /tmp/ble/wheel-0.24.0/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 --dir . returned exit code 13
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 25

[1] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20151001-wily.html

Tags: ftbfs
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

I see this is fixed in the new debian version. We could sync it, but it's a bit late for syncs I suppose? Barry?

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

If not syncing, I see that my i386 build of wheel uses unittest discover instead of pytest for tests, so maybe we could somehow force not using --test-pytest for amd64?

Changed in wheel (Debian):
status: Unknown → Fix Released
Revision history for this message
Barry Warsaw (barry) wrote :

I'll syncpackage wheel 0.26.0-1. It's a bug fix release with minimal reverse-depends so should be safe.

Changed in wheel (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Barry Warsaw (barry) wrote :

This bug was fixed in the package wheel - 0.26.0-1

---------------
wheel (0.26.0-1) unstable; urgency=medium

  * New upstream release.
  * d/patches/python35-support.patch: Removed; applied upstream.
  * d/patches/reproducible-whls.diff:
    - Update patch to use $SOURCE_DATE_EPOCH instead of $WHEEL_FORCE_TIMESTAMP.
      (Closes: #795942)
    - Use time.gmtime() instead of .localtime() to avoid timezone issues.
      (Closes: #789981)
  * d/rules: The test suite requires an installed package, so defer this
    to DEP-8 tests. (Closes: #796520)
  * d/tests/control: Add two tests of the package's test suite.
  * d/control: Now that the test suite isn't run at package build time,
    remove the Build-Depends on python-pytest and python3-pytest.
  * wrap-and-sort

 -- Barry Warsaw <email address hidden> Thu, 01 Oct 2015 19:21:50 -0400

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Thanks Barry \o/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.