-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
Add support for Python 3.9 build testing #1018
Merged
Merged
Changes from 18 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d936cf2
First stab at adding Python 3.9 dev Travis builds
micahellison 7807ced
Dynamically replace Python max version for Python 3.9 beta builds
micahellison 6343f28
Fix allow_failures (3.9-dev, not 3.9) and fix Windows find-and-replac…
micahellison baaf2be
Fix allow_failures to allow all three Python 3.9 builds to fail
micahellison 9fb47e5
Use platform-independent Python script to allow all Python versions f…
micahellison 040007f
Format changes and changing before_install to script for 3.9 builds
micahellison b025fa6
Install toml module to make it possible to run version-changing scrip…
micahellison 576d8c1
Properly populate before_install step with Mac and Windows Python 3.9…
micahellison d62c6a1
Add refreshenv to get python3 path included in WIndows
micahellison 7933a52
Ensure MacOS pyenv is up to date and attempt to reference Windows pyt…
micahellison 468312c
Use bash-friendly paths in Windows and check to see exactly what the …
micahellison 0b1785d
Confirm Python version in Windows and attempt to get pip a different way
micahellison 26f9da8
Fiddling with Windows python references
micahellison 450db4f
Remove Python3.6 references and check for Python directory in root di…
micahellison fbe1347
Add Python 3.9 path to Windows build
micahellison 0224295
Remove pip steps that should be unnecessary
micahellison 99545dc
Add upgrade pip to Windows Python 3.9 build
micahellison 4b91e28
Attempt to resolve "access denied" error when upgrading pip on Windows
micahellison 74b82cf
Use allow_all_python_version TOML script in nightly build instead of sed
micahellison 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 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,8 @@ | ||
import toml | ||
|
||
pyproject = toml.load("pyproject.toml") | ||
|
||
pyproject["tool"]["poetry"]["dependencies"]["python"] = "*" | ||
|
||
with open("pyproject.toml", "w") as toml_file: | ||
toml.dump(pyproject, toml_file) |
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this use your new script (
.build/allow_all_python_version.py
)?