-
Notifications
You must be signed in to change notification settings - Fork 573
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 tests and CI #398
Fix tests and CI #398
Conversation
This reverts commit 096a342.
6a68aa7
to
6224efe
Compare
There's one last problem with the package data in python2. |
pkgutil.get_data uses scrapyd's But that's not all. I don't know why this fixes it in py2.7 |
23bedf2
to
d588293
Compare
Codecov Report
@@ Coverage Diff @@
## master #398 +/- ##
==========================================
+ Coverage 67.98% 68.66% +0.68%
==========================================
Files 17 17
Lines 862 868 +6
Branches 104 104
==========================================
+ Hits 586 596 +10
+ Misses 246 241 -5
- Partials 30 31 +1
Continue to review full report at Codecov.
|
Last tests confirm that the source-package preference Squashing all unittest and coverage commits on c02cda3 |
Warnings in python subprocess (eg deprecation) are mixed up with the traceback in stderr and prevent us from parsing it.
Updated py2.6 leftovers that was causing deprecation warnings.
Twisted dropped support long ago. And fixing the cryptography wheel for pypy2 isn't worth the trouble.
updated changelog droped the setuptools hard requirement commit |
@my8100, |
@Digenis |
I'm satisfied with tox. Anyway, merging so that other pull requests can go on. |
|
The rust problem was solved by using binary wheels. I only took a quick look to the other PR, |
It’s better to enable both unit test and end-to-end test at the same time to ensure the code quality. |
No need to use Circle CI, see #400 |
Some problems have accumulated over the past 2 years.
Cryptography needs rust to build.
We won't build it but use wheels in the CI.
I tried installing the latest pip and wheel
but tox still tries to install source packages.
I tried without tox and it works.
I don't know why it doesn't use wheels in the CI environment.
Deprecation warnings from subprocesses
are getting mixed up with a traceback that I wanted to parse
in a test.
I use mock to patch(wrap) Popen in this test
to pass an additional argument to python to disable warnings.
There was lot of deprecated code (py2.6) in the tests.
There were leftovers for some 2014 ubuntu env to cleanup.
Python3.4 support seems problematic,
I'm dropping it, it's not like we are dropping 2 consecutive releases
and we never supported 3.3 anyway.
I'm also dropping pypy2,
because of the cryptography issue.
I also add 3.7, 3.8 and 3.9 to see what happens with the build.