Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Add support for Python 3.9 #526

Merged
merged 9 commits into from Nov 2, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 5 additions & 3 deletions .travis.yml
Expand Up @@ -24,6 +24,8 @@ env:

- PYVER=3.8 NPY="numpy>=1.15"

- PYVER=3.9 NPY="numpy>=1.15"

# - PYVER=pypy2.7 NPY="numpy>=1.15"

- PYVER=pypy3.6 NPY="numpy>=1.15"
Expand All @@ -44,13 +46,13 @@ install:
# FIXME: Mamba causes pip install numpy to be extremely slow
- if [[ "${PYVER}" = pypy* ]]; then
conda create --quiet --yes -n testenv ${PYVER};
elif [ "${PYVER}" = "2.7" ] || [ "${PYVER}" = "3.6" ] || [ "${PYVER}" = "3.7" || [ "${PYVER}" = "3.8" ]; then
elif [ "${PYVER}" = "2.7" ] || [ "${PYVER}" = "3.6" ] || [ "${PYVER}" = "3.7" || [ "${PYVER}" = "3.8" ] || [ "${PYVER}" = "3.9" ]; then
conda create --quiet --yes -n testenv python=${PYVER} pip;
else
conda create --quiet --yes -n testenv python=${PYVER};
fi
- source activate testenv
- if [ "${PYVER}" = "2.7" ] || [ "${PYVER}" = "3.6" ] || [ "${PYVER}" = "3.7" || [ "${PYVER}" = "3.8" ]; then
- if [ "${PYVER}" = "2.7" ] || [ "${PYVER}" = "3.6" ] || [ "${PYVER}" = "3.7" || [ "${PYVER}" = "3.8" ] || [ "${PYVER}" = "3.9" ]; then
conda install --quiet --yes python=${PYVER} pip root;
source activate testenv;
fi
Expand Down Expand Up @@ -78,7 +80,7 @@ addons:
- libatlas-base-dev

script:
if [ "${PYVER}" = "2.7" ] || [ "${PYVER}" = "3.6" ] || [ "${PYVER}" = "3.7" || [ "${PYVER}" = "3.8" ]; then
if [ "${PYVER}" = "2.7" ] || [ "${PYVER}" = "3.6" ] || [ "${PYVER}" = "3.7" || [ "${PYVER}" = "3.8" ] || [ "${PYVER}" = "3.9" ]; then
pytest --error-for-skips -v tests;
else
pytest -v tests;
Expand Down
15 changes: 15 additions & 0 deletions appveyor.yml
Expand Up @@ -40,6 +40,21 @@ environment:
PYTHON_ARCH: "64"
NUMPY: "numpy>=1.15"

- PYTHON: "C:\\Python37"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "32"
NUMPY: "numpy>=1.15"

- PYTHON: "C:\\Python38"
PYTHON_VERSION: "3.8.x"
PYTHON_ARCH: "32"
NUMPY: "numpy>=1.15"

- PYTHON: "C:\\Python39"
PYTHON_VERSION: "3.9.x"
PYTHON_ARCH: "32"
NUMPY: "numpy>=1.15"

install:
- "SET PATH=%PYTHON%;%PATH%"
- "python --version"
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -163,6 +163,7 @@ def get_description():
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
Expand Down
2 changes: 1 addition & 1 deletion uproot/version.py
Expand Up @@ -6,7 +6,7 @@

import re

__version__ = "3.12.1"
__version__ = "3.13.0"
version = __version__
version_info = tuple(re.split(r"[-\.]", __version__))

Expand Down