From a7950122860f11db10c8f84af355130733a97af0 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 14 Jan 2024 16:02:49 -0500 Subject: [PATCH] Python ~> 3.11 --- .python-version | 2 +- Dockerfile | 2 +- Makefile | 3 +-- Pipfile | 3 --- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.python-version b/.python-version index 9f3d4c17..d4b278f0 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.9.16 +3.11.7 diff --git a/Dockerfile b/Dockerfile index ea68d6f4..f59e102b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG NODE_VERSION=16 -ARG PYTHON_VERSION=3.9 +ARG PYTHON_VERSION=3.11 FROM python:$PYTHON_VERSION diff --git a/Makefile b/Makefile index e7b2a412..e7db21dc 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ REPO := amancevice/superset -PYTHON_VERSION := $(shell python --version | grep -Eo '[0-9.]+') +PYTHON_VERSION := $(shell cat .python-version) SUPERSET_VERSION := $(shell grep apache-superset Pipfile | grep -Eo '[0-9.]+') build: requirements-dev.txt @@ -28,7 +28,6 @@ Pipfile.lock: Pipfile | .venv pipenv lock .venv: - rm -rf $@ mkdir -p $@ pipenv --python $(PYTHON_VERSION) touch $@ diff --git a/Pipfile b/Pipfile index ad0b380c..d16429f0 100644 --- a/Pipfile +++ b/Pipfile @@ -38,6 +38,3 @@ sqlalchemy-bigquery = "==1.8.0" sqlalchemy-redshift = "==0.8.14" sqlalchemy-trino = "==0.5.0" thrift-sasl = "==0.4.3" - -[requires] -python_version = "3.9"