Skip to content

build: Don't test C extension on CPython 2.7 under Tox #406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

moreati
Copy link
Contributor

@moreati moreati commented Feb 13, 2020

The py27-c variant is failing under Tox, with

py27-c run-test-pre: PYTHONHASHSEED='1597877995'
py27-c runtests: commands[0] | python -c 'from msgpack import _cmsgpack'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name _cmsgpack
ERROR: InvocationError for command
'/home/alex/src/msgpack-python/.tox/py27-c/bin/python -c from msgpack
import _cmsgpack' (exited with code 1)

As the Changelog notes, release 1.0 will drop support for the native
extension on CPython 2.x. So there seems little benefit of testing it.

The py27-c variant is failing under Tox, with

py27-c run-test-pre: PYTHONHASHSEED='1597877995'
py27-c runtests: commands[0] | python -c 'from msgpack import _cmsgpack'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name _cmsgpack
ERROR: InvocationError for command
'/home/alex/src/msgpack-python/.tox/py27-c/bin/python -c from msgpack
import _cmsgpack' (exited with code 1)

As the Changelog notes, release 1.0 will drop support for the native
extension on CPython 2.x. So there seems little benefit of testing it.
@codecov-io
Copy link

codecov-io commented Feb 13, 2020

Codecov Report

Merging #406 into master will increase coverage by 0.35%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #406      +/-   ##
==========================================
+ Coverage   87.58%   87.94%   +0.35%     
==========================================
  Files           5        5              
  Lines         846      846              
==========================================
+ Hits          741      744       +3     
+ Misses        105      102       -3
Impacted Files Coverage Δ
msgpack/fallback.py 88.81% <0%> (+0.41%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9d79351...aa80c0a. Read the comment docs.

@methane methane merged commit cd6561d into msgpack:master Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants