-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove 3.7 support (and other build/README things)
- Loading branch information
Showing
14 changed files
with
363 additions
and
199 deletions.
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
name: Build Binaries | ||
on: | ||
# TODO(cretz): Remove | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
@@ -32,11 +34,11 @@ jobs: | |
- if: ${{ !endsWith(matrix.os, '-arm') }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
python-version: "3.12" | ||
- if: ${{ matrix.os == 'ubuntu-arm' }} | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: "3.11" | ||
python-version: "3.12" | ||
|
||
# Install Rust locally for non-Linux (Linux uses an internal docker | ||
# command to build with cibuildwheel which uses rustup install defined | ||
|
@@ -55,7 +57,7 @@ jobs: | |
# https://github.com/python-poetry/poetry/issues/7611 and | ||
# https://github.com/python-poetry/poetry/pull/7694 are fixed | ||
- run: python -m pip install --upgrade wheel "poetry==1.3.2" poethepoet | ||
- run: poetry install --no-root -E opentelemetry | ||
- run: poetry install --no-root --all-extras | ||
|
||
# Add the source dist only for Linux x64 for now | ||
- if: ${{ matrix.package-suffix == 'linux-amd64' }} | ||
|
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 |
---|---|---|
|
@@ -12,14 +12,14 @@ jobs: | |
strategy: | ||
fail-fast: true | ||
matrix: | ||
python: ["3.7", "3.11"] | ||
python: ["3.8", "3.12"] | ||
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-arm] | ||
include: | ||
- os: ubuntu-latest | ||
python: "3.11" | ||
python: "3.12" | ||
docsTarget: true | ||
- os: ubuntu-latest | ||
python: "3.7" | ||
python: "3.8" | ||
protoCheckTarget: true | ||
- os: ubuntu-arm | ||
runsOn: buildjet-4vcpu-ubuntu-2204-arm | ||
|
@@ -44,9 +44,7 @@ jobs: | |
- if: ${{ !endsWith(matrix.os, '-arm') }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
# Due to a yet-uninvestigated change in 3.11.6 that breaks the Rust | ||
# linker on Windows, we are pinning 3.11 to 3.11.5 here | ||
python-version: ${{ matrix.python == '3.11' && '3.11.5' || matrix.python }} | ||
python-version: ${{ matrix.python }} | ||
- if: ${{ matrix.os == 'ubuntu-arm' }} | ||
uses: deadsnakes/[email protected] | ||
with: | ||
|
@@ -55,7 +53,7 @@ jobs: | |
# https://github.com/python-poetry/poetry/issues/7611 and | ||
# https://github.com/python-poetry/poetry/pull/7694 are fixed | ||
- run: python -m pip install --upgrade wheel "poetry==1.3.2" poethepoet | ||
- run: poetry install --no-root -E opentelemetry | ||
- run: poetry install --no-root --all-extras | ||
- run: poe lint | ||
- run: poe build-develop | ||
- run: poe test -s -o log_cli_level=DEBUG | ||
|
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
Oops, something went wrong.