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

Test to catch if files are missing from a release #3046

Merged
merged 3 commits into from
Jul 19, 2023

Conversation

kclowes
Copy link
Collaborator

@kclowes kclowes commented Jul 13, 2023

What was wrong?

v6.6.0 was missing a few new, required, files in the release. The wheel tests should catch this, but they didn't this time.

How was it fixed?

Now the built files get installed in a new temporary directory and a separate virtualenv so that the dist files don't pick up the files that were present after the circleci code check out.

Todo:

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@kclowes kclowes force-pushed the bugfix-wheel-tests branch 14 times, most recently from eda0848 to 3d41af1 Compare July 17, 2023 20:45
@kclowes kclowes changed the title WIP Test to catch if files are missing from a release Jul 17, 2023
@kclowes kclowes force-pushed the bugfix-wheel-tests branch 2 times, most recently from ce7dcaa to f92ce28 Compare July 17, 2023 21:15
@kclowes kclowes force-pushed the bugfix-wheel-tests branch from f92ce28 to 1913edf Compare July 17, 2023 21:17
@kclowes kclowes marked this pull request as ready for review July 17, 2023 21:19
@kclowes kclowes requested review from reedsa, fselmo and pacrob July 17, 2023 21:19
@@ -0,0 +1,7 @@
rm -rf build dist
Copy link
Contributor

Choose a reason for hiding this comment

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

Recommend using #!/bin/bash for the script. Can also use set -e to exit on error if that's useful.

Not sure what the equivalent is for windows, maybe it also follows some best practices.

Copy link
Contributor

@pacrob pacrob left a comment

Choose a reason for hiding this comment

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

agree on shebang addition, otherwise lgtm!

@kclowes kclowes merged commit 4b509a7 into ethereum:main Jul 19, 2023
@kclowes kclowes deleted the bugfix-wheel-tests branch July 19, 2023 16:51
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.

3 participants