From d90992741d0be8bf1182f3cc66b78f3008246ab3 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Thu, 8 Apr 2021 15:43:01 -0600 Subject: [PATCH 1/3] Add release notes for a 1.9.0 release --- docs/changelog.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index c88c324e..2b83c096 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,6 +2,21 @@ Doctr Changelog ================= +1.9.0 (2021-04-08) +================== + +Major Changes +------------- + +- Fixes ``doctr configure``. GitHub authentication now uses the device + authentication flow, as the username/password flow is no longer supported. + (:issue:`373`) + +Minor Changes +------------- + +- Increase the number of retries for pushing from 3 to 5. (:issue:`340`) + 1.8.0 (2019-02-01) ================== From 08a30715b46772b50aa6ec4e78fea1b5c505656d Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Thu, 8 Apr 2021 15:50:06 -0600 Subject: [PATCH 2/3] Comment out the long_description in setup.py PyPI doesn't like it. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5d7ae1ec..9eb6c37c 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ url='https://github.com/drdoctr/doctr', packages=['doctr', 'doctr.tests'], description='Deploy docs from Travis to GitHub pages.', - long_description=open("README.rst").read(), + # long_description=open("README.rst").read(), entry_points={'console_scripts': [ 'doctr = doctr.__main__:main']}, python_requires= '>=3.5', install_requires=[ From 3365576f830782b8a0a9cc2fab3379002a0cc76b Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Thu, 8 Apr 2021 15:51:35 -0600 Subject: [PATCH 3/3] Update release instructions --- docs/releasing.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/releasing.rst b/docs/releasing.rst index 6e39faf0..2d18e0ee 100644 --- a/docs/releasing.rst +++ b/docs/releasing.rst @@ -14,8 +14,9 @@ Here is how to do a release: like ``git tag 2.0 -a``. Include the ``-a`` flag. This will ask for some commit message for the tag (you can just use something like "Doctr 2.0 release", or you can put the changelog in there if you want). -- Do ``python setup.py sdist bdist_wheel upload``. It uses the tag to get the version number, so - you need to do this after you tag. +- Do ``python setup.py sdist bdist_wheel``, then ``twine upload + dist/doctr-*``. It uses the tag to get the version number, so you + need to do this after you tag. - Push up the tag (``git push origin 2.0``). - Merge the pull request. - Create a pull request to the `conda-forge feedstock