Skip to content

Commit

Permalink
Update sqlalchemy requirement from >=1.3,<2.0 to >=1.3,<3.0 in /sdks/…
Browse files Browse the repository at this point in the history
…python (#30919)

* Revert "Updating access modifiers for utility methods"

This reverts commit 99eb926.

* Update sqlalchemy requirement from >=1.3,<2.0 to >=1.3,<3.0 in /sdks/python

* Update sqlalchemy requirement from >=1.3,<2.0 to >=1.3,<3.0 in /sdks/python

* Update requirements

* Revert "Updating access modifiers for utility methods"

This reverts commit 99eb926.

* Update sqlalchemy requirement from >=1.3,<2.0 to >=1.3,<3.0 in /sdks/python

* update dependencies

* Revert "Updating access modifiers for utility methods"

This reverts commit 99eb926.

* Update sqlalchemy requirement from >=1.3,<2.0 to >=1.3,<3.0 in /sdks/python

* Fix playground typo breaking rendering (#30930)

* Remove comma that breaks formatting (#30931)

* [yaml] Fix Beam YAML blog links (#30932)

Signed-off-by: Jeffrey Kinard <[email protected]>

* Fixup iceberg GitHub Action workflow

* Bump transformers from 4.36.0 to 4.38.0 in /sdks/python/apache_beam/examples/inference/runinference_metrics (#30924)

Bumps [transformers](https://github.com/huggingface/transformers) from 4.36.0 to 4.38.0.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v4.36.0...v4.38.0)

---
updated-dependencies:
- dependency-name: transformers
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: Jeffrey Kinard <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Anand Inguva <[email protected]>
Co-authored-by: Danny McCormick <[email protected]>
Co-authored-by: Jeff Kinard <[email protected]>
Co-authored-by: Kenneth Knowles <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
6 people authored Apr 11, 2024
1 parent e1a3eaf commit a690362
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 12 deletions.
16 changes: 10 additions & 6 deletions sdks/python/apache_beam/io/external/xlang_jdbcio_it_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,16 @@ def test_xlang_jdbc_write_read(self, database):
else:
binary_type = ('BINARY(10)', 'VARBINARY(10)')

self.engine.execute(
"CREATE TABLE IF NOT EXISTS {}".format(table_name) + "(f_id INTEGER, " +
"f_float DOUBLE PRECISION, " + "f_char CHAR(10), " +
"f_varchar VARCHAR(10), " + f"f_bytes {binary_type[0]}, " +
f"f_varbytes {binary_type[1]}, " + "f_timestamp TIMESTAMP(3), " +
"f_decimal DECIMAL(10, 2), " + "f_date DATE, " + "f_time TIME(3))")
with self.engine.begin() as connection:
connection.execute(
sqlalchemy.text(
"CREATE TABLE IF NOT EXISTS {}".format(table_name) +
"(f_id INTEGER, " + "f_float DOUBLE PRECISION, " +
"f_char CHAR(10), " + "f_varchar VARCHAR(10), " +
f"f_bytes {binary_type[0]}, " + f"f_varbytes {binary_type[1]}, " +
"f_timestamp TIMESTAMP(3), " + "f_decimal DECIMAL(10, 2), " +
"f_date DATE, " + "f_time TIME(3))"))

inserted_rows = [
JdbcTestRow(
i,
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/container/py310/base_image_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ shapely==2.0.3
six==1.16.0
sortedcontainers==2.4.0
soupsieve==2.5
SQLAlchemy==1.4.52
SQLAlchemy==2.0.29
sqlparse==0.4.4
tenacity==8.2.3
testcontainers==3.7.1
Expand Down
3 changes: 1 addition & 2 deletions sdks/python/container/py311/base_image_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
# Reach out to a committer if you need help.

annotated-types==0.6.0
async-timeout==4.0.3
attrs==23.2.0
beautifulsoup4==4.12.3
bs4==0.0.2
Expand Down Expand Up @@ -140,7 +139,7 @@ shapely==2.0.3
six==1.16.0
sortedcontainers==2.4.0
soupsieve==2.5
SQLAlchemy==1.4.52
SQLAlchemy==2.0.29
sqlparse==0.4.4
tenacity==8.2.3
testcontainers==3.7.1
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/container/py38/base_image_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ shapely==2.0.3
six==1.16.0
sortedcontainers==2.4.0
soupsieve==2.5
SQLAlchemy==1.4.52
SQLAlchemy==2.0.29
sqlparse==0.4.4
tenacity==8.2.3
testcontainers==3.7.1
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/container/py39/base_image_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ shapely==2.0.3
six==1.16.0
sortedcontainers==2.4.0
soupsieve==2.5
SQLAlchemy==1.4.52
SQLAlchemy==2.0.29
sqlparse==0.4.4
tenacity==8.2.3
testcontainers==3.7.1
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def get_portability_package_data():
'pytest-xdist>=2.5.0,<4',
'pytest-timeout>=2.1.0,<3',
'scikit-learn>=0.20.0',
'sqlalchemy>=1.3,<2.0',
'sqlalchemy>=1.3,<3.0',
'psycopg2-binary>=2.8.5,<3.0.0',
'testcontainers[mysql]>=3.0.3,<4.0.0',
'cryptography>=41.0.2',
Expand Down

0 comments on commit a690362

Please sign in to comment.