Skip to content

Commit 11940ae

Browse files
resolve merge
2 parents 96e519b + 462207a commit 11940ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+3234
-641
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If applicable, add screenshots to help explain your problem.
2626
**Desktop (please complete the following information):**
2727
- OS: [e.g. iOS]
2828
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
29+
- MAPIE Version [e.g. 0.3.2]
3030

3131
**Additional context**
3232
Add any other context about the problem here.

.github/workflows/publish.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- name: Set up Python
13-
uses: actions/setup-python@v2
14-
with:
15-
python-version: '3.9'
16-
- name: Install build dependencies
17-
run: |
18-
python -m pip install --upgrade pip
19-
pip install setuptools wheel twine
20-
- name: Build package
21-
run: python setup.py sdist bdist_wheel
22-
- name: Publish package
23-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
24-
with:
25-
user: __token__
26-
password: ${{ secrets.PYPI_API_TOKEN_VBL }}
11+
- uses: actions/checkout@v2
12+
- name: Set up Python
13+
uses: actions/setup-python@v2
14+
with:
15+
python-version: "3.10"
16+
- name: Install build dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install setuptools wheel twine
20+
- name: Build package
21+
run: python setup.py sdist bdist_wheel
22+
- name: Publish package
23+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
24+
with:
25+
user: __token__
26+
password: ${{ secrets.PYPI_API_TOKEN_VBL }}

.github/workflows/test.yml

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -9,43 +9,40 @@ jobs:
99
matrix:
1010
include:
1111
- os: ubuntu-latest
12-
python-version: 3.7
13-
numpy-version: 1.18.5
12+
python-version: "3.7"
13+
numpy-version: 1.21.4
1414
- os: ubuntu-latest
15-
python-version: 3.8
16-
numpy-version: 1.19.5
15+
python-version: "3.8"
16+
numpy-version: 1.21.4
1717
- os: ubuntu-latest
18-
python-version: 3.9
19-
numpy-version: 1.20.3
20-
- os: windows-latest
21-
python-version: 3.7
22-
numpy-version: 1.18.5
23-
- os: windows-latest
24-
python-version: 3.8
25-
numpy-version: 1.19.5
18+
python-version: "3.9"
19+
numpy-version: 1.21.4
20+
- os: ubuntu-latest
21+
python-version: "3.10"
22+
numpy-version: 1.22.3
2623
- os: windows-latest
27-
python-version: 3.9
28-
numpy-version: 1.20.3
24+
python-version: "3.10"
25+
numpy-version: 1.22.3
2926
defaults:
3027
run:
3128
shell: bash -l {0}
3229

3330
steps:
34-
- name: Git clone
35-
uses: actions/checkout@v2
36-
- name: Set up virtual environment
37-
uses: conda-incubator/setup-miniconda@v2
38-
with:
39-
python-version: ${{ matrix.python-version }}
40-
environment-file: environment.ci.yml
41-
channels: defaults, conda-forge
42-
- name: Install numpy
43-
run: conda install numpy=${{ matrix.numpy-version }}
44-
- name: Check linting
45-
run: make lint
46-
- name: Check static typing
47-
run: make type-check
48-
- name: Test with pytest
49-
run: make coverage
50-
- name: Code coverage
51-
run: codecov
31+
- name: Git clone
32+
uses: actions/checkout@v2
33+
- name: Set up virtual environment
34+
uses: conda-incubator/setup-miniconda@v2
35+
with:
36+
python-version: ${{ matrix.python-version }}
37+
environment-file: environment.ci.yml
38+
channels: defaults, conda-forge
39+
- name: Install numpy
40+
run: conda install numpy=${{ matrix.numpy-version }}
41+
- name: Check linting
42+
run: make lint
43+
- name: Check static typing
44+
run: make type-check
45+
- name: Test with pytest
46+
run: make coverage
47+
- name: Code coverage
48+
run: codecov

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ target/
7777
.vscode
7878

7979
# Images
80-
*.png
8180
*.jpeg
8281

8382
# ZIP files

HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
History
33
=======
44

5+
0.3.3 (2022-XX-XX)
6+
------------------
7+
* Relax and fix typing
8+
59
0.3.2 (2022-03-11)
610
------------------
711
* Refactorize unit tests

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
.PHONY: tests doc build
2+
23
lint:
34
flake8 . --exclude=doc
45

56
type-check:
6-
mypy mapie examples --strict --allow-untyped-calls
7+
mypy mapie examples
78

89
tests:
910
pytest -vs --doctest-modules mapie

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Python 3.7+
5454

5555
**MAPIE** stands on the shoulders of giants.
5656

57-
Its only internal dependency is `scikit-learn <https://scikit-learn.org/stable/>`_.
57+
Its only internal dependencies are `scikit-learn <https://scikit-learn.org/stable/>`_ and `numpy=>1.21 <https://numpy.org/>`_.
5858

5959

6060
🛠 Installation

0 commit comments

Comments
 (0)