-
Notifications
You must be signed in to change notification settings - Fork 11
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
FIX: Pip 20+ support and fix tests #16
base: master
Are you sure you want to change the base?
Conversation
d22686d
to
578d983
Compare
Apparently, the tests did not run since the testenv did not match, so the builds were green no matter the code. I changed the tox.ini and added py38-pip20 and made sure it failed before fixing the imports in pkgversion.py. On another note, we should probably not use internals like this because it will randomly break (like now). Fixing it now so we are unblocked at least.
578d983
to
d681ee4
Compare
The same problem was acknowledged in #15 |
@@ -25,7 +25,8 @@ | |||
'Programming Language :: Python :: 2', | |||
'Programming Language :: Python :: 2.7', | |||
'Programming Language :: Python :: 3', | |||
'Programming Language :: Python :: 3.5', | |||
'Programming Language :: Python :: 3.7', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also add python 3.6?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also it does not seem as FIX
to me as we are officially dropping support for python version and adding support for next one. more like NEW
or even BREAK
(even though it is only python classifiers which do not mean it won't work with other versions)
py36-{pip9,pip10}: python3.6 | ||
cov: python3.6 | ||
py27: python2.7 | ||
py37: python3.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also keep py36 here as it is the main platform for this package
Apparently, the tests did not run since the
testenv did not match, so the builds were green
no matter the code.
I changed the tox.ini and added py38-pip20 and
made sure it failed before fixing the imports
in pkgversion.py.
On another note, we should probably not use
internals like this because it will randomly
break (like now). Fixing it now so we are
unblocked at least.