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

Commit

Permalink
Merge pull request #258 from scikit-hep/eduardo-py39
Browse files Browse the repository at this point in the history
Add support for Python 3.8 and 3.9
  • Loading branch information
jpivarski authored Nov 1, 2020
2 parents 15a63d5 + 0d363f4 commit 7deae6d
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 6 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ os:
python:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9
- pypy2.7-5.10.0
- pypy3.6-7.1.1

Expand All @@ -21,6 +22,12 @@ matrix:
exclude:
- python: 3.7
env: NUMPY="numpy==1.13.1"
- python: 3.8
env: NUMPY="numpy==1.13.1"
- python: 3.9
env: NUMPY="numpy==1.13.1"
- python: 3.9
env: NUMPY="numpy==1.14.5"
- python: pypy2.7-5.10.0
env: NUMPY="numpy==1.14.5"
- python: pypy3.6-7.1.1
Expand All @@ -43,7 +50,7 @@ script:
install:
- pip install --upgrade setuptools_scm
- pip install $NUMPY
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]] ; then pip install "pandas==0.24.2"; elif [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install "pandas==0.25.3" ; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]] ; then pip install "pandas==0.24.2"; elif [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install "pandas>=0.25.3" ; fi
- if [[ $TRAVIS_PYTHON_VERSION = pypy* ]] ; then pip install "numpy<1.16.0" ; fi # FIXME: pypy bug in numpy
- python -c 'import numpy; print(numpy.__version__)'
- pip install pytest pytest-runner
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2018-2019, Jim Pivarski
Copyright (c) 2018-2020, Jim Pivarski
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
15 changes: 15 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
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:
- "python --version"

Expand Down
6 changes: 4 additions & 2 deletions awkward-cpp/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class get_pybind_include(object):
The purpose of this class is to postpone importing pybind11
until it is actually installed, so that the ``get_include()``
method can be invoked. """

def __init__(self, user=False):
self.user = user

Expand Down Expand Up @@ -97,7 +97,7 @@ def build_extensions(self):
build_ext.build_extensions(self)

############################# end copy-pasted code ##############################

setup(name = "awkward-cpp",
version = get_version(),
packages = find_packages(exclude = ["tests"]),
Expand Down Expand Up @@ -137,6 +137,8 @@ def build_extensions(self):
"Programming Language :: Python :: 3.5",
"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: 2 additions & 0 deletions awkward-numba/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def get_version():
"Programming Language :: Python :: 3.5",
"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 awkward/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import re

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

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ def get_description():
"Programming Language :: Python :: 3.5",
"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

0 comments on commit 7deae6d

Please sign in to comment.