From 7d8400928d26e3ce6673336340c29a0857f59c86 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Tue, 20 Sep 2022 14:47:53 -0400 Subject: [PATCH] Release v2022.9.20 --- CHANGELOG.rst | 38 ++++++++++++++++++++++++++ news/5339.behavior.rst | 17 ------------ news/5346.vendor.rst | 1 - news/5349.bugfix.rst | 1 - pipenv/__version__.py | 2 +- pipenv/pipenv.1 | 60 +++++++++++++++++++++++++++++++++++------- 6 files changed, 90 insertions(+), 29 deletions(-) delete mode 100644 news/5339.behavior.rst delete mode 100644 news/5346.vendor.rst delete mode 100644 news/5349.bugfix.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ed30d4b696..d3b7cc28a8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,41 @@ +2022.9.20 (2022-09-20) +====================== +Pipenv 2022.9.20 (2022-09-20) +============================= + + +Behavior Changes +---------------- + +- Remove usage of pipfile module in favour of Plette. + pipfile is not actively maintained anymore. Plette is actively maintained, + and has stricter checking of the Pipefile and Pipefile.lock. As a result, + Pipefile with unnamed package indecies will fail to lock. If a Pipefile + was hand crafeted, and the source is anonymous an error will be thrown. + The solution is simple, add a name to your index, e.g, replace:: + + [[source]] + url = "https://pypi.acme.com/simple" + verify_ssl = true + + With:: + + [[source]] + url = "https://pypi.acme.com/simple" + verify_ssl = true + name = acmes_private_index `#5339 `_ + +Bug Fixes +--------- + +- Modernize ``pipenv`` path patch with ``importlib.util`` to eliminate import of ``pkg_resources`` `#5349 `_ + +Vendored Libraries +------------------ + +- Remove iso8601 from vendored packages since it was not used. `#5346 `_ + + 2022.9.8 (2022-09-08) ===================== Pipenv 2022.9.8 (2022-09-08) diff --git a/news/5339.behavior.rst b/news/5339.behavior.rst deleted file mode 100644 index d9a7bb9554..0000000000 --- a/news/5339.behavior.rst +++ /dev/null @@ -1,17 +0,0 @@ -Remove usage of pipfile module in favour of Plette. -pipfile is not actively maintained anymore. Plette is actively maintained, -and has stricter checking of the Pipefile and Pipefile.lock. As a result, -Pipefile with unnamed package indecies will fail to lock. If a Pipefile -was hand crafeted, and the source is anonymous an error will be thrown. -The solution is simple, add a name to your index, e.g, replace:: - - [[source]] - url = "https://pypi.acme.com/simple" - verify_ssl = true - -With:: - - [[source]] - url = "https://pypi.acme.com/simple" - verify_ssl = true - name = acmes_private_index diff --git a/news/5346.vendor.rst b/news/5346.vendor.rst deleted file mode 100644 index 5794a9fbd5..0000000000 --- a/news/5346.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Remove iso8601 from vendored packages since it was not used. diff --git a/news/5349.bugfix.rst b/news/5349.bugfix.rst deleted file mode 100644 index 67a5739794..0000000000 --- a/news/5349.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Modernize ``pipenv`` path patch with ``importlib.util`` to eliminate import of ``pkg_resources`` diff --git a/pipenv/__version__.py b/pipenv/__version__.py index ab0ec87929..2613301d68 100644 --- a/pipenv/__version__.py +++ b/pipenv/__version__.py @@ -2,4 +2,4 @@ # // ) ) / / // ) ) //___) ) // ) ) || / / # //___/ / / / //___/ / // // / / || / / # // / / // ((____ // / / ||/ / -__version__ = "2022.9.9.dev0" +__version__ = "2022.9.20" diff --git a/pipenv/pipenv.1 b/pipenv/pipenv.1 index 7307af4f55..28a083aa2a 100644 --- a/pipenv/pipenv.1 +++ b/pipenv/pipenv.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "PIPENV" "1" "Sep 08, 2022" "2022.9.8" "pipenv" +.TH "PIPENV" "1" "Sep 20, 2022" "2022.9.20" "pipenv" .SH NAME pipenv \- pipenv Documentation \fI\%\fP\fI\%\fP\fI\%\fP @@ -453,6 +453,55 @@ You might want to set \fBexport PIPENV_VENV_IN_PROJECT=1\fP in your .bashrc/.zsh .sp Congratulations, you now know how to install and use Python packages! ✨ 🍰 ✨ .SS Release and Version History +.SS 2022.9.20 (2022\-09\-20) +.SS Pipenv 2022.9.20 (2022\-09\-20) +.SS Behavior Changes +.INDENT 0.0 +.IP \(bu 2 +Remove usage of pipfile module in favour of Plette. +pipfile is not actively maintained anymore. Plette is actively maintained, +and has stricter checking of the Pipefile and Pipefile.lock. As a result, +Pipefile with unnamed package indecies will fail to lock. If a Pipefile +was hand crafeted, and the source is anonymous an error will be thrown. +The solution is simple, add a name to your index, e.g, replace: +.INDENT 2.0 +.INDENT 3.5 +.sp +.nf +.ft C +[[source]] +url = "https://pypi.acme.com/simple" +verify_ssl = true +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +With: +.INDENT 2.0 +.INDENT 3.5 +.sp +.nf +.ft C +[[source]] +url = "https://pypi.acme.com/simple" +verify_ssl = true +name = acmes_private_index \(ga#5339 \(ga_ +.ft P +.fi +.UNINDENT +.UNINDENT +.UNINDENT +.SS Bug Fixes +.INDENT 0.0 +.IP \(bu 2 +Modernize \fBpipenv\fP path patch with \fBimportlib.util\fP to eliminate import of \fBpkg_resources\fP \fI\%#5349\fP +.UNINDENT +.SS Vendored Libraries +.INDENT 0.0 +.IP \(bu 2 +Remove iso8601 from vendored packages since it was not used. \fI\%#5346\fP +.UNINDENT .SS 2022.9.8 (2022\-09\-08) .SS Pipenv 2022.9.8 (2022\-09\-08) .SS Features & Improvements @@ -3200,7 +3249,7 @@ Dependencies of wheels provided in a \fBPipfile\fP will not be captured by \fB$ .IP \(bu 2 There are some known issues with using private indexes, related to hashing. We\(aqre actively working to solve this problem. You may have great luck with this, however. .IP \(bu 2 -Installation is intended to be as deterministic as possible —\ use the \fB\-\-sequential\fP flag to increase this, if experiencing issues. +Installation is intended to be as deterministic as possible. .UNINDENT .SS ☤ Specifying Package Indexes .sp @@ -4070,13 +4119,6 @@ Default is 0. Automatically set to 1 on CI environments for robust testing. .UNINDENT .INDENT 7.0 .TP -.B PIPENV_MAX_SUBPROCESS -How many subprocesses should Pipenv use when installing. -.sp -Default is 16, an arbitrary number that seems to work. -.UNINDENT -.INDENT 7.0 -.TP .B PIPENV_NOSPIN If set, disable terminal spinner. .sp