Skip to content

Commit b6b315e

Browse files
CHORE: update release checklist and max sklearn dependencies (see issue #574) (#601)
1 parent 8f809a5 commit b6b315e

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

RELEASE_CHECKLIST.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Release checklist
22

3-
- [ ] Update the version number with `bump2version major|minor|patch`
4-
- [ ] Push new tag to your commit: `git push --tags`
53
- [ ] Edit HISTORY.rst and AUTHORS.rst to make sure it’s up-to-date and add release date
64
- [ ] Check whether any new files need to go in MANIFEST.in
75
- [ ] Make sure tests run, pass and cover 100% of the package:
@@ -11,19 +9,19 @@
119
* `make coverage`
1210
- [ ] Make sure documentation builds without warnings and shows nicely:
1311
* `make doc`
12+
- Commit every change from the steps below
13+
- [ ] Update the version number with `bump2version major|minor|patch`
14+
- [ ] Push new tag to your commit: `git push --tags`
1415
- [ ] Build source distribution:
1516
* `make clean-build`
1617
* `make build`
1718
- [ ] Check that your package is ready for publication: `twine check dist/*`
1819
- [ ] Make sure everything is committed and pushed: `git push origin master`
19-
- [ ] Upload it to TestPyPi: `twine upload --repository-url https://test.pypi.org/legacy/ dist/*`
20+
- [ ] Upload it to TestPyPi: `twine upload --repository-url https://test.pypi.org/legacy/ dist/*` (you need to create an account on test.pypi.org first,
21+
then an API key, and ask one the existing MAPIE maintainer to add you as a maintainer)
2022
- [ ] Test upload on TestPyPi:
21-
* `cd`
22-
* `conda activate`
23-
* `conda create -n test-mapie --yes python=3.9`
24-
* `conda activate test-mapie`
23+
* create a new empty virtual environment
2524
* `pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ mapie`
26-
* `conda activate`
27-
* `conda env remove -n test-mapie`
2825
- [ ] Create new release on GitHub for this tag.
29-
- [ ] Merge the automatically created pull request on https://github.com/conda-forge/mapie-feedstock
26+
- [ ] Merge the automatically created pull request on https://github.com/conda-forge/mapie-feedstock. You need to be added as a maintainer on this repo first. To create the pull request
27+
manually to avoid waiting for automation, create an issue with the name `@conda-forge-admin, please update version`

environment.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
- pytest=6.2.5
1515
- pytest-cov=3.0.0
1616
- python=3.10
17-
- scikit-learn
17+
- scikit-learn<1.6.0
1818
- sphinx=4.3.2
1919
- sphinx-gallery=0.10.1
2020
- sphinx_rtd_theme=1.0.0

requirements.dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ numpy==1.22.3
88
pandas==1.3.5
99
pytest==6.2.5
1010
pytest-cov==3.0.0
11-
scikit-learn
11+
scikit-learn<1.6.0
1212
sphinx==4.3.2
1313
sphinx-gallery==0.10.1
1414
sphinx_rtd_theme==1.0.0

0 commit comments

Comments
 (0)