Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbuild: Create tox environments using a known Cython version #408
Conversation
Codecov Report
@@ Coverage Diff @@
## master #408 +/- ##
=======================================
Coverage 88.06% 88.06%
=======================================
Files 5 5
Lines 846 846
=======================================
Hits 745 745
Misses 101 101
Continue to review full report at Codecov.
|
This change causes Tox to run the project's setup.py in a virtualenv (default path is .tox/.package). The required version of Cython is installed, rather than whatever version is installed system wide. I found that this eliminated test suite failures under CPython 3.8, that were due to me having a version of Cython that was too old to generate a compatible _cmsgpack.cpp. isolated_build was released in Tox 3.3.0, released 2018-09-11. e.g. ± tox -r .package create: /home/alex/src/msgpack-python/.tox/.package .package installdeps: setuptools >= 35.0.2, Cython~=0.29.13, pytest py27-pure recreate: /home/alex/src/msgpack-python/.tox/py27-pure py27-pure installdeps: pytest py27-pure inst: /home/alex/src/msgpack-python/.tox/.tmp/package/1/msgpack-1.0.0rc1.tar.gz ... py27-x86 create: /home/alex/src/msgpack-python/.tox/py27-x86 ERROR: InterpreterNotFound: python2.7-x86 py34-x86 create: /home/alex/src/msgpack-python/.tox/py34-x86 ERROR: InterpreterNotFound: python3.4-x86 _________________________________________ summary _________________________________________ py27-pure: commands succeeded py35-c: commands succeeded py35-pure: commands succeeded py36-c: commands succeeded py36-pure: commands succeeded py37-c: commands succeeded py37-pure: commands succeeded py38-c: commands succeeded py38-pure: commands succeeded pypy-pure: commands succeeded pypy3-pure: commands succeeded ERROR: py27-x86: InterpreterNotFound: python2.7-x86 ERROR: py34-x86: InterpreterNotFound: python3.4-x86
|
This PR was slightly speculative on my part. Please feel free to reject it for any reason, or no reason - no hurt feelings. If you're unsure about anything, or you'd like a fuller explanation of what it does please let me know. |
This change causes Tox to run the project's setup.py in a virtualenv
(default path is .tox/.package). The required version of Cython is
installed, rather than whatever version is installed system wide. I
found that this eliminated test suite failures under CPython 3.8, that
were due to me having a version of Cython that was too old to generate a
compatible _cmsgpack.cpp.
isolated_build was released in Tox 3.3.0, released 2018-09-11.
e.g.