Skip to content
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

3477 Do not install vcpython27 during Windows CI steps #862

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

sajith
Copy link
Member

@sajith sajith commented Oct 15, 2020

Fixes 3477: with zfec 1.5.4 1.5.5, wheel packages for Windows is available now. Installing a compiler is no longer necessary.

Update, on Nov 12 2020: Turned out that zfec 1.5.4 wheel package for Windows + Python 2.7 was broken. I have tested zfec 1.5.5 a little more on Windows. I updated cibuildwheel version that builds zfec packages, added a step to check that the package cibuildwheel just built is actually usable, and did some manual testing on Windows and macOS. Finally, re-running Tahoe's test suite on GitHub Actions confirms that this time zfec is usable.

With zfec 1.5.4, wheel packages for Windows is available now.
Installing a compiler is no longer necessary.
@sajith sajith marked this pull request as draft October 15, 2020 18:26
@sajith
Copy link
Member Author

sajith commented Oct 15, 2020

Getting this error on Windows:

zfec==1.5.4
zipp==1.2.0
zope.interface==5.1.2
py27-coverage run-test: commands[1] | tahoe --version
tahoe-lafs: 1.14.0.post1545 [HEAD: eb44944e0d3dc7711e5662ecbeec0873934821ea]
foolscap: 0.13.1
zfec: None [(<type 'exceptions.ImportError'>, 'DLL load failed: %1 is not a valid Win32 application.', ('d:\\a\\tahoe-lafs\\tahoe-lafs\\.tox\\py27-coverage\\lib\\site-packages\\zfec\\__init__.py', 13, '<module>', 'from ._fec import Encoder, Decoder, Error'))]

Looks like cibuildwheel did not build DLLs on Windows. Uh oh.

@codecov
Copy link

codecov bot commented Nov 12, 2020

Codecov Report

Merging #862 (525f220) into master (4d56b5f) will decrease coverage by 1%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #862    +/-   ##
=======================================
- Coverage      92%     91%    -1%     
=======================================
  Files         157     157            
  Lines       27532   27532            
  Branches     4125    3922   -203     
=======================================
- Hits        25353   25187   -166     
- Misses       1505    1585    +80     
- Partials      674     760    +86     
Impacted Files Coverage Δ
src/allmydata/util/humanreadable.py 65% <0%> (-16%) ⬇️
src/allmydata/_monkeypatch.py 86% <0%> (-14%) ⬇️
src/allmydata/crypto/__init__.py 86% <0%> (-14%) ⬇️
src/allmydata/immutable/downloader/__init__.py 86% <0%> (-14%) ⬇️
src/allmydata/storage/common.py 88% <0%> (-12%) ⬇️
src/allmydata/crypto/error.py 89% <0%> (-11%) ⬇️
src/allmydata/util/_python3.py 89% <0%> (-11%) ⬇️
src/allmydata/util/assertutil.py 89% <0%> (-11%) ⬇️
src/allmydata/web/common_py3.py 86% <0%> (-9%) ⬇️
src/allmydata/crypto/util.py 92% <0%> (-8%) ⬇️
... and 61 more

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 4d56b5f...525f220. Read the comment docs.

@sajith sajith marked this pull request as ready for review November 12, 2020 14:54
Copy link
Member

@exarkun exarkun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Assuming there are no lingering zfec packaging issues that might cause problems later on, it seems like this should be merged?

@sajith
Copy link
Member Author

sajith commented Nov 21, 2020

Assuming there are no lingering zfec packaging issues that might cause problems later on

Sorry to respond in meme, but this is the only response I can think of:

image

I will test things once again locally, just to be sure, before hitting the merge button.

@sajith
Copy link
Member Author

sajith commented Nov 24, 2020

Did some more local testing of zfec 1.5.5 on Linux, Windows, and macOS, and things look okay. I had also added a testing step in zfec packaging CI, which hopefully should catch any future breakages.

@sajith sajith merged commit 4e5eb13 into tahoe-lafs:master Nov 24, 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.

2 participants