-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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.10 #6422
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
20e489a
add support for Python 3.10
skshetry eea04ae
skip windows on 3.10; update pip/wheel/setuptools during install
skshetry d8c7ab7
Merge branch 'master' into python310
skshetry 5452e00
install libgit2 with Python3.10 as pygit2 wheel is not available
skshetry f657686
Merge branch 'python310' of github.com:skshetry/dvc into python310
skshetry a366dba
install libgit2
skshetry 835aace
only run on macOS, libgit2-1.1 not available on ubuntu
skshetry 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 |
---|---|---|
|
@@ -42,13 +42,14 @@ jobs: | |
matrix: | ||
os: [ubuntu-18.04, windows-2019, macos-10.15] | ||
pyv: ["3.6", "3.7", "3.8", "3.9"] | ||
# macos 11.0 workers take too long to start up | ||
# include: | ||
# - os: "macos-11.0" | ||
# pyv: "3.9" | ||
include: | ||
- os: "macos-10.15" | ||
pyv: "3.10.0-rc.1" | ||
exclude: | ||
- os: macos-10.15 | ||
pyv: "3.9" | ||
- os: macos-10.15 | ||
pyv: "3.7" | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -68,10 +69,14 @@ jobs: | |
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: install libgit2 on Python3.10 in macOS | ||
if: matrix.pyv == '3.10.0-rc.1' && matrix.os == 'macos-10.15' | ||
run: | | ||
brew install libgit2 | ||
- name: install | ||
if: steps.cache.pip-cache-dir.cache-hit != 'true' | ||
run: | | ||
pip install wheel | ||
pip install --upgrade pip setuptools wheel | ||
pip install -e ".[all,tests]" | ||
- name: install temporary dependencies | ||
run: | | ||
|
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
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
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.
Python3.10 only running in
macOS
as libgit2-1.1 is not available in Ubuntu (only >= 21.04 which is not supported in GHA).