Commit 8dab06a2 authored by Leo P. Singer's avatar Leo P. Singer
Browse files

Restore Python 3.5 support

parent 93649888
...@@ -60,10 +60,14 @@ sdist: ...@@ -60,10 +60,14 @@ sdist:
- '*.whl' - '*.whl'
expire_in: 3 hours expire_in: 3 hours
wheel:cp35-cp35m-manylinux1:
<<: *wheel-manylinux1
wheel:cp36-cp36m-manylinux1: wheel:cp36-cp36m-manylinux1:
<<: *wheel-manylinux1 <<: *wheel-manylinux1
wheel:cp37-cp37m-manylinux1: wheel:cp37-cp37m-manylinux1:
<<: *wheel-manylinux1 <<: *wheel-manylinux1
wheel:cp35-cp35m-macosx:
<<: *wheel-macos
wheel:cp36-cp36m-macosx: wheel:cp36-cp36m-macosx:
<<: *wheel-macos <<: *wheel-macos
wheel:cp37-cp37m-macosx: wheel:cp37-cp37m-macosx:
...@@ -93,6 +97,9 @@ wheel:cp37-cp37m-macosx: ...@@ -93,6 +97,9 @@ wheel:cp37-cp37m-macosx:
- docker build -t $IMAGE_TAG . - docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG - docker push $IMAGE_TAG
dependencies/python3.5:
<<: *dependencies
dependencies/python3.6: dependencies/python3.6:
<<: *dependencies <<: *dependencies
...@@ -129,6 +136,12 @@ docs: ...@@ -129,6 +136,12 @@ docs:
- pip install *.whl - pip install *.whl
- python -c 'import sys; from ligo.skymap import test; sys.exit(test(verbose=True))' - python -c 'import sys; from ligo.skymap import test; sys.exit(test(verbose=True))'
test/python3.5:
<<: *test
image: $CI_REGISTRY_IMAGE/dependencies/python3.5:$CI_COMMIT_REF_NAME
dependencies:
- wheel:cp35-cp35m-manylinux1
test/python3.6: test/python3.6:
<<: *test <<: *test
image: $CI_REGISTRY_IMAGE/dependencies/python3.6:$CI_COMMIT_REF_NAME image: $CI_REGISTRY_IMAGE/dependencies/python3.6:$CI_COMMIT_REF_NAME
...@@ -270,8 +283,10 @@ deploy:wheel: ...@@ -270,8 +283,10 @@ deploy:wheel:
- /opt/python/cp37-cp37m/bin/twine upload * - /opt/python/cp37-cp37m/bin/twine upload *
dependencies: dependencies:
- sdist - sdist
- wheel:cp35-cp35m-manylinux1
- wheel:cp36-cp36m-manylinux1 - wheel:cp36-cp36m-manylinux1
- wheel:cp37-cp37m-manylinux1 - wheel:cp37-cp37m-manylinux1
- wheel:cp35-cp35m-macosx
- wheel:cp36-cp36m-macosx - wheel:cp36-cp36m-macosx
- wheel:cp37-cp37m-macosx - wheel:cp37-cp37m-macosx
only: only:
......
...@@ -27,6 +27,8 @@ Changelog ...@@ -27,6 +27,8 @@ Changelog
correctly implement the namespace package ``ligo``, broke the continuous correctly implement the namespace package ``ligo``, broke the continuous
integration build. integration build.
- Restore Python 3.5 support.
0.0.16 (2018-09-11) 0.0.16 (2018-09-11)
=================== ===================
......
...@@ -13,7 +13,7 @@ will install pre-built binaries from the `Python package index ...@@ -13,7 +13,7 @@ will install pre-built binaries from the `Python package index
Basic Requirements Basic Requirements
------------------ ------------------
* `Python <https://www.python.org>`_ ≥ 3.6 * `Python <https://www.python.org>`_ ≥ 3.5
* `pip <https://pip.pypa.io>`_ * `pip <https://pip.pypa.io>`_
Required Python Dependencies Required Python Dependencies
......
...@@ -11,7 +11,7 @@ from ._astropy_init import * ...@@ -11,7 +11,7 @@ from ._astropy_init import *
# This is the same check as the one at the top of setup.py # This is the same check as the one at the top of setup.py
import sys import sys
__minimum_python_version__ = "3.6" __minimum_python_version__ = "3.5"
class UnsupportedPythonError(Exception): class UnsupportedPythonError(Exception):
pass pass
......
...@@ -50,6 +50,7 @@ classifiers = ...@@ -50,6 +50,7 @@ classifiers =
License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+) License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
Operating System :: POSIX Operating System :: POSIX
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Topic :: Scientific/Engineering :: Astronomy Topic :: Scientific/Engineering :: Astronomy
...@@ -61,7 +62,7 @@ edit_on_github = False ...@@ -61,7 +62,7 @@ edit_on_github = False
# version should be PEP386 compatible (http://www.python.org/dev/peps/pep-0386) # version should be PEP386 compatible (http://www.python.org/dev/peps/pep-0386)
version = 0.0.17dev version = 0.0.17dev
# Note: you will also need to change this in your package's __init__.py # Note: you will also need to change this in your package's __init__.py
minimum_python_version = 3.6 minimum_python_version = 3.5
[options] [options]
namespace_packages = ligo namespace_packages = ligo
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment