-
-
Notifications
You must be signed in to change notification settings - Fork 594
fix(release): minimum needed to run twine to publish #1021
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
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
7529dd9
fix(release): minimum needed to run twine to publish
alexeagle b7b1698
fixup! fix(release): minimum needed to run twine to publish
alexeagle 9e2e8a6
refactor: move twine deps to its own folder
alexeagle dad6f10
Update WORKSPACE
alexeagle c6fe37d
Update python/runfiles/BUILD.bazel
alexeagle d157ff1
show CI failure
alexeagle 11c9153
remove actual publish for this PR
alexeagle cb3f5a7
chore: exclude requirements test on RBE
alexeagle a83d607
Add darwin requirements
alexeagle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
docs/*.md linguist-generated=true | ||
tools/publish/*.txt linguist-generated=true |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
load("//python:pip.bzl", "compile_pip_requirements") | ||
|
||
compile_pip_requirements( | ||
name = "requirements", | ||
requirements_darwin = "requirements_darwin.txt", | ||
requirements_windows = "requirements_windows.txt", | ||
# This fails on RBE right now, and we don't need coverage there: | ||
# WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) | ||
# after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3784e08110>: | ||
# Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/twine/ | ||
# | ||
# ERROR: Could not find a version that satisfies the requirement twine==4.0.2 | ||
# (from -r tools/publish/requirements.in (line 1)) (from versions: none) | ||
tags = ["no-remote-exec"], | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Publish to pypi with twine | ||
|
||
https://packaging.python.org/en/latest/tutorials/packaging-projects/ indicates that the twine | ||
package is used to publish wheels to pypi. | ||
|
||
See more: https://twine.readthedocs.io/en/stable/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
twine |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.