Make PyPI installation work on Python 2 #1833 - #1835
Merged
Merged
Conversation
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Thsi takes forevere to complete Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Also resolve conflicts This si for #1833 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
These are not needed and are too big. Remove a few other unused reqs. Also move dev dependencies off to the dev dir Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Only use the Scripts dir that is created by virtualenv Drop creating a junction as this is is error prone Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This is self-contained adn does not need setuptools/wheel and pip It also works consistently with synced versions of its vendored deps And works consistently on Python 2 and 3. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
The latest url.py is written in C++ We do not need that speed but we need portability and pure python. The new urlpy is a fork of url.py v.2.0 that has been ported to Python 3 and works on 2 and 3. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Codecov Report
@@ Coverage Diff @@
## develop #1835 +/- ##
===========================================
+ Coverage 79.54% 79.57% +0.02%
===========================================
Files 131 131
Lines 16978 16941 -37
===========================================
- Hits 13505 13480 -25
+ Misses 3473 3461 -12
Continue to review full report at Codecov.
|
And improve testing and support of weird archives such as ar archives with illegal names. The enhancements to sevenzip extraction should allow things to work OK on the new macOS AFS filesystem. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
7zip can now also have ERROR-prefixed messages in stderr/stdout Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
we now can handle correcty the shortcomings of Apple AFS FS Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
pombredanne
force-pushed
the
1833-install-pypi-py27
branch
from
June 27, 2020 19:47
cbe4966 to
6d0324b
Compare
Somehow the file time is off by 2 hours and not GMT on Windows-only. And only when we list entries. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Add CI debug for 7zip on macOS Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
pombredanne
force-pushed
the
1833-install-pypi-py27
branch
from
June 28, 2020 20:19
dba5929 to
db57ce5
Compare
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
But run them on Windows 32 and 64 bits Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
We no longer run coverage here for now. Also only run scancode. Do not check certain URLs. Set doc scripts as executable Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
pombredanne
force-pushed
the
1833-install-pypi-py27
branch
from
July 6, 2020 06:24
1e9f402 to
1bef9e2
Compare
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
They are the causes of too frequent random build failures as they make HTTP HEAD live calls and these can fail randomly. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Member
Author
|
At last this is passing on all OSes. Merging! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a fix for #1833 to properly install plugins on Python 2.
There is in fact some updates as plugins are moved to their own repos, we add new native wheels for windows64 and update the deps. And #335 to support Windows64.
Along the way there are a few other things fixed such as #1971 and extractcode support for 7z on case insensitive macOS filesystems
It also tries to speed up the CI test runs by cleaning some of them.