Skip to content

Commit 28b63c1

Browse files
Aurelien Vasselleflorian boudinet
Aurelien Vasselle
authored and
florian boudinet
committed
Resolve "Update CI image"
1 parent 2ed9aed commit 28b63c1

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

.gitlab-ci.yml

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: conda/miniconda3
1+
image: continuumio/miniconda3
22

33
stages:
44
- lint
@@ -10,7 +10,7 @@ lint:
1010
stage: lint
1111
script:
1212
- apt update && apt install -y gcc
13-
- conda install python=3.6 psutil
13+
- conda install python=3.9 psutil
1414
- pip install .
1515
- pip install "pydocstyle<4" flake8 pep8-naming flake8-docstrings
1616
- flake8 --config=.flake8 scared tests setup.py
@@ -20,7 +20,7 @@ test:python36:
2020
script:
2121
- apt update && apt install -y gcc
2222
- eval "$(conda shell.bash hook)"
23-
- conda create -n env-python36 python=3.6 psutil pycrypto numpy cython
23+
- conda create -n env-python36 python=3.6
2424
- conda activate env-python36
2525
- python setup.py test -v
2626

@@ -29,7 +29,7 @@ test:python37:
2929
script:
3030
- apt update && apt install -y gcc
3131
- eval "$(conda shell.bash hook)"
32-
- conda create -n env-python37 python=3.7 psutil pycrypto numpy cython
32+
- conda create -n env-python37 python=3.7
3333
- conda activate env-python37
3434
- python setup.py test -v
3535

@@ -38,10 +38,19 @@ test:python38:
3838
script:
3939
- apt update && apt install -y gcc
4040
- eval "$(conda shell.bash hook)"
41-
- conda create -n env-python38 python=3.8 psutil pycrypto numpy cython
41+
- conda create -n env-python38 python=3.8
4242
- conda activate env-python38
4343
- python setup.py test -v
4444

45+
test:python39:
46+
stage: test
47+
script:
48+
- apt update && apt install -y gcc
49+
- eval "$(conda shell.bash hook)"
50+
- conda create -n env-python39 python=3.9
51+
- conda activate env-python39
52+
- python setup.py test -v
53+
4554
build:pypi:src:
4655
stage: build
4756
script:

docs/source/CONTRIBUTING.md

-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ All developments should be compatible with **Python 3.6** and **3.7**.
122122
To develop, you'll need to support:
123123

124124
- setuptools **0.40 or greater** (just run `pip install -U pip setuptools`)
125-
- a C compiler to compile C extension with Cython (see Cython documentation)
126125

127126
To start runnning your test suite, you can install the library in development mode:
128127

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ requires = [
33
"setuptools>=40.0",
44
"wheel",
55
"numpy",
6-
"cython"
76
]

0 commit comments

Comments
 (0)