Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for python 3.8 #138

Merged
merged 7 commits into from
Feb 28, 2020
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 5 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down