diff --git a/RELEASE_CHECKLIST.md b/RELEASE_CHECKLIST.md index b9e5a897..d06a306a 100644 --- a/RELEASE_CHECKLIST.md +++ b/RELEASE_CHECKLIST.md @@ -1,7 +1,5 @@ # Release checklist -- [ ] Update the version number with `bump2version major|minor|patch` -- [ ] Push new tag to your commit: `git push --tags` - [ ] Edit HISTORY.rst and AUTHORS.rst to make sure it’s up-to-date and add release date - [ ] Check whether any new files need to go in MANIFEST.in - [ ] Make sure tests run, pass and cover 100% of the package: @@ -11,19 +9,19 @@ * `make coverage` - [ ] Make sure documentation builds without warnings and shows nicely: * `make doc` +- Commit every change from the steps below +- [ ] Update the version number with `bump2version major|minor|patch` +- [ ] Push new tag to your commit: `git push --tags` - [ ] Build source distribution: * `make clean-build` * `make build` - [ ] Check that your package is ready for publication: `twine check dist/*` - [ ] Make sure everything is committed and pushed: `git push origin master` -- [ ] Upload it to TestPyPi: `twine upload --repository-url https://test.pypi.org/legacy/ dist/*` +- [ ] 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, + then an API key, and ask one the existing MAPIE maintainer to add you as a maintainer) - [ ] Test upload on TestPyPi: - * `cd` - * `conda activate` - * `conda create -n test-mapie --yes python=3.9` - * `conda activate test-mapie` + * create a new empty virtual environment * `pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ mapie` - * `conda activate` - * `conda env remove -n test-mapie` - [ ] Create new release on GitHub for this tag. -- [ ] Merge the automatically created pull request on https://github.com/conda-forge/mapie-feedstock +- [ ] 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 + manually to avoid waiting for automation, create an issue with the name `@conda-forge-admin, please update version` diff --git a/environment.dev.yml b/environment.dev.yml index 033ba24c..0c231cc2 100644 --- a/environment.dev.yml +++ b/environment.dev.yml @@ -14,7 +14,7 @@ dependencies: - pytest=6.2.5 - pytest-cov=3.0.0 - python=3.10 - - scikit-learn + - scikit-learn<1.6.0 - sphinx=4.3.2 - sphinx-gallery=0.10.1 - sphinx_rtd_theme=1.0.0 diff --git a/requirements.dev.txt b/requirements.dev.txt index 4174c560..95f886f4 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -8,7 +8,7 @@ numpy==1.22.3 pandas==1.3.5 pytest==6.2.5 pytest-cov==3.0.0 -scikit-learn +scikit-learn<1.6.0 sphinx==4.3.2 sphinx-gallery==0.10.1 sphinx_rtd_theme==1.0.0