File tree 4 files changed +30
-14
lines changed
4 files changed +30
-14
lines changed Original file line number Diff line number Diff line change 8
8
strategy :
9
9
fail-fast : false
10
10
matrix :
11
- python-version : ["3.5", "3. 6", "3.7", "3.8"]
11
+ python-version : ["3.6", "3.7", "3.8"]
12
12
13
13
steps :
14
14
- name : Checkout source
@@ -17,17 +17,28 @@ jobs:
17
17
submodules : recursive
18
18
19
19
- name : Set up Python
20
- uses : actions /setup-python@v1
20
+ uses : conda-incubator /setup-miniconda@master
21
21
with :
22
- python-version : ${{ matrix.python-version }}
23
-
22
+ channels : conda-forge
23
+ python-version : ${{ matrix.python-version }}
24
+ env :
25
+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
24
26
- name : Install numcodecs
27
+ shell : " bash -l {0}"
25
28
run : |
26
- python -m pip install -U pip setuptools wheel pytest
27
- python -m pip install -v -e .
28
-
29
- - name : List installed packages
30
- run : python -m pip list
29
+ conda create -n env python==${{matrix.python-version}} wheel cython numpy msgpack-python pytest wheel pip compilers
30
+ conda activate env
31
+ which pip
32
+ conda env export
33
+ - name : Install numcodecs
34
+ shell : " bash -l {0}"
35
+ run : |
36
+ conda activate env
37
+ export CC=clang
38
+ python setup.py build
31
39
32
40
- name : Run tests
33
- run : pytest -v --pyargs numcodecs
41
+ shell : " bash -l {0}"
42
+ run : |
43
+ conda activate env
44
+ pytest -v --pyargs numcodecs
Original file line number Diff line number Diff line change 13
13
env :
14
14
CIBW_TEST_COMMAND : pytest --pyargs numcodecs
15
15
CIBW_TEST_REQUIRES : pytest
16
- CIBW_SKIP : " *27* pp*"
16
+ CIBW_SKIP : " *27* pp* *35* "
17
17
CIBW_ENVIRONMENT : " DISABLE_NUMCODECS_AVX2=1"
18
18
CIBW_ENVIRONMENT_MACOS : " MACOSX_DEPLOYMENT_TARGET=10.9 DISABLE_NUMCODECS_AVX2=1"
19
19
Original file line number Diff line number Diff line change 1
1
Release notes
2
2
=============
3
3
4
+ * Remove support for Python 3.5 which is end of life. While the code base might
5
+ still be compatible; the source dist and wheel are marked as Python 3.6+ and
6
+ pip will not install them. Continuous integration on Python 3.5 has been
7
+ disabled.
8
+
4
9
.. _release_0.7.2 :
5
10
6
11
0.7.2
Original file line number Diff line number Diff line change @@ -318,8 +318,9 @@ def run_setup(with_extensions):
318
318
},
319
319
ext_modules = ext_modules ,
320
320
cmdclass = cmdclass ,
321
- package_dir = {'' : '.' },
322
- packages = ['numcodecs' , 'numcodecs.tests' ],
321
+ package_dir = {"" : "." },
322
+ python_requires = ">=3.6, <4" ,
323
+ packages = ["numcodecs" , "numcodecs.tests" ],
323
324
classifiers = [
324
325
'Development Status :: 4 - Beta' ,
325
326
'Intended Audience :: Developers' ,
@@ -330,7 +331,6 @@ def run_setup(with_extensions):
330
331
'Topic :: Software Development :: Libraries :: Python Modules' ,
331
332
'Operating System :: Unix' ,
332
333
'Programming Language :: Python :: 3' ,
333
- 'Programming Language :: Python :: 3.5' ,
334
334
'Programming Language :: Python :: 3.6' ,
335
335
'Programming Language :: Python :: 3.7' ,
336
336
'Programming Language :: Python :: 3.8' ,
You can’t perform that action at this time.
0 commit comments