Skip to content

Commit c524560

Browse files
authored
PHOENIX-7530 Support Python 3.13 in PhoenixDB (#173)
also add workaround for pyenv virtualenv incompatibility
1 parent 6641436 commit c524560

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

phoenix-queryserver-it/src/it/bin/test_phoenixdb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pushd ${PY_ENV_PATH}/bin
5454

5555
# conda activate does stuff with unbound variables :(
5656
set +u
57-
. activate ""
57+
. ./activate ""
5858

5959
popd
6060

python-phoenixdb/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
from advian/tox-base:ubuntu-jammy-2024-02-07 as tox
16+
from advian/tox-base:ubuntu-jammy-2024-10-10 as tox
1717

1818
###########################
1919
# Prebuild given versions #
2020
###########################
21-
ARG BUILD_PYTHON_VERSIONS="3.11 3.10 3.9 3.8" #Can we take this from the parent image ?
22-
ARG EXTRA_PYTHON_VERSIONS="3.12 3.5 3.6 3.7 2.7"
21+
ARG BUILD_PYTHON_VERSIONS="3.13 3.12 3.11 3.10 3.9" #Can we take this from the parent image ?
22+
ARG EXTRA_PYTHON_VERSIONS="3.5 3.6 3.7 3.8 2.7"
2323
RUN export RESOLVED_VERSIONS=`pyenv_resolve $BUILD_PYTHON_VERSIONS` \
2424
&& export EXTRA_RESOLVED_VERSIONS=`pyenv_resolve $EXTRA_PYTHON_VERSIONS` \
2525
&& for pyver in $EXTRA_RESOLVED_VERSIONS; do pyenv install $pyver; done \

python-phoenixdb/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ def readme():
9494
'Programming Language :: Python :: 3.9',
9595
'Programming Language :: Python :: 3.10',
9696
'Programming Language :: Python :: 3.11',
97-
'Programming Language :: Python :: 3.12'
97+
'Programming Language :: Python :: 3.12',
98+
'Programming Language :: Python :: 3.13'
9899
],
99100
install_requires=install_requires,
100101
tests_require=[

python-phoenixdb/tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ envlist = py27-SQLAlchemy{13,14},
2424
py39-SQLAlchemy{13,14,20},
2525
py310-SQLAlchemy{13,14,20},
2626
py311-SQLAlchemy{13,14,20},
27-
py312-SQLAlchemy{13,14,20}
27+
py312-SQLAlchemy{13,14,20},
28+
py313-SQLAlchemy{13,14,20}
2829
[testenv]
2930
passenv = PHOENIXDB_TEST_DB_URL
3031
commands =

0 commit comments

Comments
 (0)