Skip to content

Commit

Permalink
test python 311 support
Browse files Browse the repository at this point in the history
  • Loading branch information
matrixstone committed Feb 28, 2024
1 parent dd4df0f commit 5aca89e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
needs: check-code-quality
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-bookworm
FROM python:3.11-bookworm
LABEL description="Deploy Mage on ECS"
ARG FEATURE_BRANCH
USER root
Expand Down
3 changes: 3 additions & 0 deletions mage_ai/data_preparation/models/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ class BlockType(str, Enum):
SENSOR = 'sensor'
TRANSFORMER = 'transformer'

def __str__(self):
return self.value


class BlockColor(str, Enum):
BLUE = 'blue'
Expand Down
2 changes: 1 addition & 1 deletion mage_integrations/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ attrs==17.4.0
azure-storage-blob==12.14.1
backoff
clickhouse_sqlalchemy
couchbase==4.1.1
couchbase==4.1.6
deltalake==0.7.0
elasticsearch==8.9.0
facebook_business==17.0.2
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ redshift-connector==2.0.915
lxml==4.9.4
snowflake-connector-python==3.4.0
sshtunnel==0.4.0
tables==3.7.0
tables==3.7.0; python_version == '3.8'
tables==3.9.2; python_version >= '3.9'
trino~=0.326

# Azure
Expand Down

0 comments on commit 5aca89e

Please sign in to comment.