Skip to content

Commit

Permalink
Merge branch 'master' into usewheel
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn committed Apr 5, 2023
2 parents 52d1134 + 87db1ae commit 697635a
Show file tree
Hide file tree
Showing 246 changed files with 11,515 additions and 7,434 deletions.
1 change: 0 additions & 1 deletion .github/REVIEWERS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
labels:
- name: Go
reviewers:
- damccorm
- lostluck
- jrmccluskey
- riteshghorse
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"PythonTestProperties": {
"ALL_SUPPORTED_VERSIONS": ["3.7", "3.8", "3.9", "3.10"],
"ALL_SUPPORTED_VERSIONS": ["3.7", "3.8", "3.9", "3.10", "3.11"],
"LOWEST_SUPPORTED": ["3.7"],
"HIGHEST_SUPPORTED": ["3.10"],
"ESSENTIAL_VERSIONS": ["3.7", "3.10"],
"CROSS_LANGUAGE_VALIDATES_RUNNER_PYTHON_VERSIONS": ["3.7", "3.10"],
"CROSS_LANGUAGE_VALIDATES_RUNNER_DATAFLOW_USING_SQL_PYTHON_VERSIONS": ["3.10"],
"VALIDATES_CONTAINER_DATAFLOW_PYTHON_VERSIONS": ["3.7", "3.8", "3.9", "3.10"],
"HIGHEST_SUPPORTED": ["3.11"],
"ESSENTIAL_VERSIONS": ["3.7", "3.11"],
"CROSS_LANGUAGE_VALIDATES_RUNNER_PYTHON_VERSIONS": ["3.7", "3.11"],
"CROSS_LANGUAGE_VALIDATES_RUNNER_DATAFLOW_USING_SQL_PYTHON_VERSIONS": ["3.11"],
"VALIDATES_CONTAINER_DATAFLOW_PYTHON_VERSIONS": ["3.7", "3.8", "3.9", "3.10", "3.11" ]
"LOAD_TEST_PYTHON_VERSION": "3.7",
"CHICAGO_TAXI_EXAMPLE_FLINK_PYTHON_VERSION": "3.7",
"DEFAULT_INTERPRETER": "python3.8",
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/setup-self-hosted-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ inputs:
required: false
description: 'Set as false if does not require java-8 setup'
default: 'true'
requires-go-19:
requires-go:
required: false
description: 'Set as false if does not require go-19 setup'
description: 'Set as false if does not require go setup'
default: 'true'

runs:
Expand Down Expand Up @@ -64,7 +64,7 @@ runs:
distribution: 'temurin'
java-version: 8
- name: Set Go Version
if: ${{ inputs.requires-go-19 == 'true' }}
if: ${{ inputs.requires-go == 'true' }}
uses: actions/setup-go@v3
with:
go-version: '1.19.0'
go-version: '1.20' # never set patch, to get latest patch releases.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
env:
EVENT_NAME: ${{ github.event_name }}
PY_VERSIONS_FULL: "cp37-* cp38-* cp39-* cp310-*"
PY_VERSIONS_FULL: "cp37-* cp38-* cp39-* cp310-* cp311-*"
outputs:
gcp-variables-set: ${{ steps.check_gcp_variables.outputs.gcp-variables-set }}
py-versions-full: ${{ steps.set-py-versions.outputs.py-versions-full }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: '1.20'
- name: Delete old coverage
run: "cd sdks/go/pkg && rm -rf .coverage || :"
- name: Run coverage
Expand All @@ -62,6 +62,6 @@ jobs:
go vet --copylocks=false --unsafeptr=false ./...
- name: Run Staticcheck
run: |
go install "honnef.co/go/tools/cmd/staticcheck@2022.1"
go install "honnef.co/go/tools/cmd/staticcheck@2023.1.3"
cd sdks/go/pkg/beam
$(go env GOPATH)/bin/staticcheck ./...
4 changes: 2 additions & 2 deletions .github/workflows/local_env_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: '1.20'
- uses: actions/setup-python@v4
with:
python-version: '3.8'
Expand All @@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: '1.20'
- uses: actions/setup-python@v4
with:
python-version: '3.8'
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
{"py_ver": "3.8", "tox_env": "py38"},
{"py_ver": "3.9", "tox_env": "py39"},
{"py_ver": "3.10", "tox_env": "py310" },
{ "py_ver": "3.11", "tox_env": "py311" },
]
steps:
- name: Checkout code
Expand All @@ -115,7 +116,7 @@ jobs:
python-version: ${{ matrix.params.py_ver }}
- name: Get build dependencies
working-directory: ./sdks/python
run: pip install -r build-requirements.txt
run: pip install -r build-requirements.txt --use-pep517
- name: Install tox
run: pip install tox
- name: Run tests basic unix
Expand All @@ -140,7 +141,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ["3.7", "3.8", "3.9", "3.10"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -168,7 +169,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ["3.7", "3.8", "3.9", "3.10"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -179,7 +180,7 @@ jobs:
- name: Install go
uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: '1.20'
- name: Download source from artifacts
uses: actions/download-artifact@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion .test-infra/jenkins/PythonTestProperties.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ class PythonTestProperties {
'3.7',
'3.8',
'3.9',
'3.10'
'3.10',
'3.11'
]
final static List<String> SUPPORTED_CONTAINER_TASKS = ALL_SUPPORTED_VERSIONS.collect {
"py${it.replace('.', '')}"
Expand Down
Loading

0 comments on commit 697635a

Please sign in to comment.