Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/75.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for Python 3.14 <ISSUES_LIST>.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Rust",
"Topic :: Database",
"Topic :: Software Development",
Expand Down
18 changes: 2 additions & 16 deletions testkit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ ENV PYENV_ROOT=/.pyenv
ENV PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"

# Setup python version
ENV PYTHON_VERSIONS="3.13 3.12 3.11 3.10"
ENV PYTHON_VERSIONS="3.14 3.13 3.12 3.11 3.10"

RUN for version in $PYTHON_VERSIONS; do \
pyenv install $version; \
done
RUN pyenv rehash
RUN pyenv global $(pyenv versions --bare --skip-aliases | sort --version-sort --reverse)

# Install Latest pip and setuptools for each environment
# Install Latest pip for each environment
# + tox and tools for starting the tests
# https://pip.pypa.io/en/stable/news/
RUN for version in $PYTHON_VERSIONS; do \
Expand All @@ -61,17 +61,3 @@ RUN for version in $PYTHON_VERSIONS; do \
# Install Rust toolchain
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

# Installing pyarrow lib until pre-built wheel for Python 3.13 exists
# https://github.com/apache/arrow/issues/43519
RUN apt update && \
apt install -y -V lsb-release cmake gcc && \
distro_name=$(lsb_release --id --short | tr 'A-Z' 'a-z') && \
code_name=$(lsb_release --codename --short) && \
wget https://apache.jfrog.io/artifactory/arrow/${distro_name}/apache-arrow-apt-source-latest-${code_name}.deb && \
apt install -y -V ./apache-arrow-apt-source-latest-${code_name}.deb && \
apt update && \
apt install -y -V libarrow-dev libarrow-dataset-dev libarrow-flight-dev libparquet-dev && \
apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV PYARROW_WITH_CUDA=off
ENV PYARROW_WITH_GANDIVA=of
7 changes: 6 additions & 1 deletion testkit/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
# limitations under the License.


from _common import run_python
from _common import (
run_python,
TEST_LOCAL_DRIVER,
)


if __name__ == "__main__":
Expand All @@ -33,3 +36,5 @@
".",
]
)
if TEST_LOCAL_DRIVER:
run_python(["-m", "pip", "install", "./driver", "--no-deps"])
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{310,311,312,313}-{test}-{releasedriver,devdriver}
envlist = py{310,311,312,313,314}-{test}-{releasedriver,devdriver}

[testenv]
dependency_groups =
Expand Down