Skip to content

Commit

Permalink
Update to crate-2.0.0, which uses orjson for JSON marshalling
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jan 17, 2025
1 parent 3c6c3f1 commit 605bc5b
Show file tree
Hide file tree
Showing 21 changed files with 32 additions and 20 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/application-cratedb-toolkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
env:
CRATE_HEAP_SIZE: 4g

env:
PIP_PRE: true

steps:

- name: Acquire sources
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lang-python-sqlalchemy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
env:
CRATE_HEAP_SIZE: 4g

env:
PIP_PRE: true

steps:

- name: Acquire sources
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/testing-native-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
python-version: [ '3.8', '3.12' ]
cratedb-version: [ 'nightly' ]

env:
PIP_PRE: true

steps:

- name: Acquire sources
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/testing-testcontainers-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
python-version: [ '3.8', '3.12' ]
cratedb-version: [ 'nightly' ]

env:
PIP_PRE: true

steps:

- name: Acquire sources
Expand Down
2 changes: 1 addition & 1 deletion application/apache-superset/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
apache-superset
flask-jwt-extended>=4.7.1
sqlalchemy-cratedb>=0.40.1
sqlalchemy-cratedb>=0.41.0.dev1
2 changes: 1 addition & 1 deletion application/cratedb-toolkit/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
crate>=1.0.0.dev2
crate>=2.0.0.dev5
cratedb-toolkit[influxdb,mongodb]>=0.0.30
2 changes: 1 addition & 1 deletion application/records/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
records<0.7
sqlalchemy-cratedb<0.41
sqlalchemy-cratedb>=0.41.0.dev1
tablib[ods]
4 changes: 2 additions & 2 deletions by-dataframe/dask/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
click<9
colorlog<7
crate>=1.0.0.dev2
crate>=2.0.0.dev5
dask[dataframe]>=2024.4.1 # Python 3.11.9 breaks previous Dask
distributed>=2024.4.1 # Python 3.11.9 breaks previous Dask
pueblo>=0.0.10
sqlalchemy-cratedb>=0.40.0
sqlalchemy-cratedb>=0.41.0.dev1
2 changes: 1 addition & 1 deletion by-dataframe/pandas/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
click<9
colorlog<7
crate>=1.0.0.dev2
crate>=2.0.0.dev5
pandas==2.2.*
pueblo>=0.0.10
sqlalchemy-cratedb[all] @ git+https://github.com/crate-workbench/sqlalchemy-cratedb@amo/postgresql-async
2 changes: 1 addition & 1 deletion by-language/python-dbapi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
crate>=1.0.0.dev2
crate>=2.0.0.dev5
2 changes: 1 addition & 1 deletion by-language/python-sqlalchemy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
click<9
colorlog<7
crate>=1.0.0.dev2
crate>=2.0.0.dev5
pueblo>=0.0.7
sqlalchemy>=2,<2.1
sqlalchemy-cratedb[all] @ git+https://github.com/crate-workbench/sqlalchemy-cratedb@amo/postgresql-async
2 changes: 1 addition & 1 deletion framework/flink/kafka-jdbcsink-python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ avro-python3==1.10.2
certifi==2024.2.2
charset-normalizer==3.3.2
cloudpickle==2.2.1
crate>=1.0.0.dev2
crate>=2.0.0.dev5
crcmod==1.7
dill==0.3.1.1
dnspython==2.6.1
Expand Down
2 changes: 1 addition & 1 deletion framework/gradio/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
gradio==4.*
sqlalchemy-cratedb>=0.40.0
sqlalchemy-cratedb>=0.41.0.dev1
2 changes: 1 addition & 1 deletion framework/records/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
records<0.7
sqlalchemy-cratedb<0.41
sqlalchemy-cratedb>=0.41.0.dev1
tablib[pandas]
2 changes: 1 addition & 1 deletion framework/streamlit/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
streamlit==1.*
sqlalchemy-cratedb>=0.40.0
sqlalchemy-cratedb>=0.41.0.dev1
2 changes: 1 addition & 1 deletion testing/native/python-pytest/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
crash>=0.31.5
crate>=1.0.0.dev2
crate>=2.0.0.dev5
pytest<9
pytest-cratedb>=0.4.0
2 changes: 1 addition & 1 deletion testing/native/python-unittest/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cr8>=0.27.2
crash>=0.31.5
crate>=1.0.0.dev2
crate>=2.0.0.dev5
2 changes: 1 addition & 1 deletion testing/testcontainers/python-pytest/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
crash>=0.31.5
crate>=1.0.0.dev2
crate>=2.0.0.dev5
cratedb-toolkit[testing]>=0.0.29
pytest<9
2 changes: 1 addition & 1 deletion testing/testcontainers/python-unittest/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
crash>=0.31.5
crate>=1.0.0.dev2
crate>=2.0.0.dev5
cratedb-toolkit[testing]>=0.0.29
4 changes: 2 additions & 2 deletions topic/machine-learning/automl/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Real.
crate>=1.0.0.dev2
crate>=2.0.0.dev5
mlflow-cratedb==2.14.1
plotly<5.25
pycaret[models,parallel,test]==3.3.2
pydantic<3
python-dotenv<2
sqlalchemy==2.*
sqlalchemy-cratedb>=0.40.0
sqlalchemy-cratedb>=0.41.0.dev1

# Development.
# mlflow-cratedb @ git+https://github.com/crate-workbench/mlflow-cratedb.git@main
4 changes: 2 additions & 2 deletions topic/timeseries/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
crate>=1.0.0.dev2
crate>=2.0.0.dev5
cratedb-toolkit[datasets]>=0.0.30
refinitiv-data<1.7
pandas==2.0.*
pycaret==3.3.2
pydantic<3
sqlalchemy==2.0.*
sqlalchemy-cratedb>=0.40.0
sqlalchemy-cratedb>=0.41.0.dev1

0 comments on commit 605bc5b

Please sign in to comment.