Skip to content

Commit 5f21669

Browse files
authored
Merge pull request #36319 from apache/fix-update-dependencies
Fix Update Python Dependencies job
2 parents 449ab57 + 881de9b commit 5f21669

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/actions/setup-default-test-properties/test-properties.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"PythonTestProperties": {
3-
"ALL_SUPPORTED_VERSIONS": ["3.9", "3.10", "3.11", "3.12"],
3+
"ALL_SUPPORTED_VERSIONS": ["3.9", "3.10", "3.11", "3.12", "3.13"],
44
"LOWEST_SUPPORTED": ["3.9"],
5-
"HIGHEST_SUPPORTED": ["3.12"],
5+
"HIGHEST_SUPPORTED": ["3.13"],
66
"ESSENTIAL_VERSIONS": ["3.9", "3.12"],
7-
"CROSS_LANGUAGE_VALIDATES_RUNNER_PYTHON_VERSIONS": ["3.9", "3.12"],
7+
"CROSS_LANGUAGE_VALIDATES_RUNNER_PYTHON_VERSIONS": ["3.9", "3.12", "3.13"],
88
"CROSS_LANGUAGE_VALIDATES_RUNNER_DATAFLOW_USING_SQL_PYTHON_VERSIONS": ["3.11"],
9-
"VALIDATES_CONTAINER_DATAFLOW_PYTHON_VERSIONS": ["3.9", "3.10", "3.11", "3.12"],
9+
"VALIDATES_CONTAINER_DATAFLOW_PYTHON_VERSIONS": ["3.9", "3.10", "3.11", "3.12", "3.13"],
1010
"LOAD_TEST_PYTHON_VERSION": "3.9",
1111
"CHICAGO_TAXI_EXAMPLE_FLINK_PYTHON_VERSION": "3.9",
1212
"DEFAULT_INTERPRETER": "python3.9",

.github/workflows/update_python_dependencies.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ jobs:
6060
3.10
6161
3.11
6262
3.12
63+
3.13
6364
java-version: default
6465
go-version: default
6566
disable-cache: true
66-
67+
6768
- name: Update Python Dependencies
6869
uses: ./.github/actions/gradle-command-self-hosted-action
6970
with:

local-env-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if [ "$kernelname" = "Linux" ]; then
5555
exit
5656
fi
5757

58-
for ver in 3.9 3.10 3.11 3.12 3; do
58+
for ver in 3.9 3.10 3.11 3.12 3.13 3; do
5959
apt install --yes python$ver-venv
6060
done
6161

@@ -89,7 +89,7 @@ elif [ "$kernelname" = "Darwin" ]; then
8989
echo "Installing openjdk@8"
9090
brew install openjdk@8
9191
fi
92-
for ver in 3.9 3.10 3.11 3.12; do
92+
for ver in 3.9 3.10 3.11 3.12 3.13; do
9393
if brew ls --versions python@$ver > /dev/null; then
9494
echo "python@$ver already installed. Skipping"
9595
brew info python@$ver

sdks/python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ def get_portability_package_data():
587587
# For more info, see
588588
# https://docs.google.com/document/d/1c84Gc-cZRCfrU8f7kWGsNR2o8oSRjCM-dGHO9KvPWPw/edit?usp=sharing
589589
'torch': ['torch>=1.9.0,<2.8.0'],
590-
'tensorflow': ['tensorflow>=2.12rc1,<2.17'],
590+
'tensorflow': ['tensorflow>=2.12rc1,<2.21'],
591591
'transformers': [
592592
'transformers>=4.28.0,<4.56.0',
593593
'tensorflow>=2.12.0',

0 commit comments

Comments
 (0)