diff --git a/.circleci/config.yml b/.circleci/config.yml index 21e3934c2..3f2fd35de 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -84,7 +84,7 @@ jobs: - run: name: Build the Linux wheels. command: | - pip install --user cibuildwheel==0.10.2 + pip install --user cibuildwheel==1.1.0 python -m cibuildwheel --output-dir wheelhouse - run: name: Upload Linux wheels. @@ -107,7 +107,7 @@ jobs: macos: xcode: "10.0.0" environment: - CIBW_SKIP: "cp27-* cp34-* cp38-* *i686" + CIBW_SKIP: "cp27-* cp34-* *i686" CIBW_BEFORE_BUILD_MACOS: brew cask uninstall --force oclint && brew install gcc eigen libomp || true; brew install gcc eigen libomp && pip install numpy scipy cython CIBW_TEST_REQUIRES: numpy scipy pytest pytest-cov CIBW_TEST_COMMAND: python -m pytest {project}/thewalrus diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index f30d47234..e321446f0 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -6,6 +6,8 @@ * Adds functions for calculating the covariance for the photon number distribution of a Gaussian state including a function for the full covariance matrix. [#137](https://github.com/XanaduAI/thewalrus/pull/137) +* Adds support for Python 3.8. [#138](https://github.com/XanaduAI/thewalrus/pull/138) + ### Improvements * Updates the reference that should be used when citing The Walrus. [#102](https://github.com/XanaduAI/thewalrus/pull/102) diff --git a/README.rst b/README.rst index da9ff3a77..61cd759af 100644 --- a/README.rst +++ b/README.rst @@ -53,11 +53,13 @@ Pre-built binary wheels are available for the following platforms: +------------+-------------+------------------+---------------+ | | macOS 10.6+ | manylinux x86_64 | Windows 64bit | +============+=============+==================+===============+ -| Python 3.5 | ✅ | ✅ | ✅ | +| Python 3.5 | X | X | X | +------------+-------------+------------------+---------------+ -| Python 3.6 | ✅ | ✅ | ✅ | +| Python 3.6 | X | X | X | +------------+-------------+------------------+---------------+ -| Python 3.7 | ✅ | ✅ | ✅ | +| Python 3.7 | X | X | X | ++------------+-------------+------------------+---------------+ +| Python 3.8 | X | X | X | +------------+-------------+------------------+---------------+ To install, simply run diff --git a/appveyor.yml b/appveyor.yml index de09c48c5..9e311d6ff 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,7 +26,7 @@ install: build_script: - set PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH% - - pip install numpy scipy cython cibuildwheel==0.10.2 + - pip install numpy scipy cython cibuildwheel==1.1.0 - cibuildwheel --output-dir wheelhouse artifacts: diff --git a/setup.py b/setup.py index 749d22709..287e7fd8c 100644 --- a/setup.py +++ b/setup.py @@ -162,6 +162,7 @@ def cythonize(x, compile_time_env=None): 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3 :: Only', "Topic :: Scientific/Engineering :: Physics" ]