From 232eff38d426fcc4e7485701b0513952de89dbd1 Mon Sep 17 00:00:00 2001 From: Oz N Tiram Date: Thu, 21 Jul 2022 22:31:02 +0200 Subject: [PATCH] Remove references to Python2.7 in RELEASING.md --- RELEASING.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index d4e7ff20..f9a8a0cb 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -87,11 +87,11 @@ Now we will need to update the lockfile. This is required to ensure tests run ag # use the latest python here $ export PIPENV_PYTHON=3.8 $ pipenv lock --dev -# Inspect the changes in a diff viewer, for example we should keep the python 2 dependencies to use for running tests +# Inspect the changes in a diff viewer, for example we should keep the older Python dependencies to use for running tests # on completion, stage the relevant changes -$ export PIPENV_PYTHON=2.7 +$ export PIPENV_PYTHON=3.7 $ pipenv lock --keep-outdated --dev -# this helps avoid overwriting the entire lockfile and should introduce only the changes required to run tests on python 2 +# this helps avoid overwriting the entire lockfile and should introduce only the changes required to run tests on previous Python versions # inspect the resulting lockfile and commit the changes $ git commit ``` @@ -103,8 +103,6 @@ Test pipenv locally. If tests pass, you can go ahead and make a PR to merge what ```bash $ export PIPENV_PYTHON=3.8 $ pipenv install --dev && pytest -ra tests -$ export PIPENV_PYTHON=2.7 -$ pipenv install --dev && pytest -ra tests ``` ## Check Spelling in Documentation @@ -152,8 +150,6 @@ If in doubt, follow the basic instructions below. 8. Wait a week, then update version number to a canonical release and re-release on PyPI.org 10. Publicize on lists, Discourse, GitHub issues - - ## Looking ahead Most of the pipenv related ecosystem libraries are using [GitHub actions](https://github.com/sarugaku/vistir/blob/master/.github/workflows/pypi_upload.yml) to automate releases when tags are pushed. Most likely we will look to move in this direction and simplify the process.