Skip to content

Commit

Permalink
Release v3000.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius committed Jun 6, 2024
1 parent 0cee88e commit a84ecd3
Show file tree
Hide file tree
Showing 12 changed files with 68 additions and 40 deletions.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
3000.0.0 (2024-06-06)
=====================
Pipenv 3000.0.0 (2024-06-06)
============================


Features & Improvements
-----------------------

- Supply any ``--extra-pip-args`` also in the resolver steps. `#6006 <https://github.com/pypa/pipenv/issues/6006>`_
- The ``uninstall`` command now does the inverse of ``upgrade`` which means it no longer invokes a full ``lock`` cycle which was problematic for projects with many dependencies. `#6029 <https://github.com/pypa/pipenv/issues/6029>`_
- The ``pipenv requirements`` subcommand now supports the ``--from-pipfile`` flag. When this flag is used, the requirements file will only include the packages explicitly listed in the Pipfile, excluding any sub-packages. `#6156 <https://github.com/pypa/pipenv/issues/6156>`_

Behavior Changes
----------------

- ``pipenv==3000.0.0`` denotes the first major release of our semver strategy.
As much requested, the ``install`` no longer does a complete lock operation. Instead ``install`` follows the same code path as pipenv update (which is upgrade + sync).
This is what most new users expect the behavior to be; it is a behavioral change, a necessary one to make the tool more usable.
Remember that complete lock resolution can be invoked with ``pipenv lock`` just as before. `#6098 <https://github.com/pypa/pipenv/issues/6098>`_

Bug Fixes
---------

- Fix a bug that passes pipenv check command if Pipfile.lock not exist `#6126 <https://github.com/pypa/pipenv/issues/6126>`_
- Fix a bug that vcs subdependencies were locked without their subdirectory fragment if they had one `#6136 <https://github.com/pypa/pipenv/issues/6136>`_
- ``pipenv`` converts off ``pkg_resources`` API usages. This necessitated also vendoring in:
* latest ``pipdeptree==2.18.1`` which also converted off ``pkg_resources``
* ``importlib-metadata==7.1.0`` to continue supporting python 3.8 and 3.9
* ``packaging==24.0`` since the packaging we were utilizing in pip's _vendor was insufficient for this conversion. `#6139 <https://github.com/pypa/pipenv/issues/6139>`_
- Pipenv only supports absolute python version. If the user specifies a Python version with inequality signs like >=3.12, <3.12 in the [requires] field, the code has been modified to explicitly express in an error log that absolute versioning must be used. `#6164 <https://github.com/pypa/pipenv/issues/6164>`_

Vendored Libraries
------------------

- Vendor in ``pip==24.0`` `#6117 <https://github.com/pypa/pipenv/issues/6117>`_
- Spring 2024 Vendoring includes:
* ``click-didyoumean==0.3.1``
* ``expect==4.9.0``
* ``pipdeptree==2.16.2``
* ``python-dotenv==1.0.1``
* ``ruamel.yaml==0.18.6``
* ``shellingham==1.5.4``
* ``tomlkit==0.12.4`` `#6118 <https://github.com/pypa/pipenv/issues/6118>`_
2023.12.1 (2024-02-04)
======================
Pipenv 2023.12.1 (2024-02-04)
Expand Down
1 change: 0 additions & 1 deletion news/6006.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/6029.feature.rst

This file was deleted.

4 changes: 0 additions & 4 deletions news/6098.behavior.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/6117.vendor.rst

This file was deleted.

8 changes: 0 additions & 8 deletions news/6118.vendor.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/6126.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/6136.bugfix.rst

This file was deleted.

4 changes: 0 additions & 4 deletions news/6139.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/6156.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/6164.bugfix.rst

This file was deleted.

41 changes: 24 additions & 17 deletions pipenv/pipenv.1
Original file line number Diff line number Diff line change
Expand Up @@ -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" "Feb 04, 2024" "2023.12.1" "pipenv"
.TH "PIPENV" "1" "Jun 06, 2024" "3000.0.0" "pipenv"
.sp
\fBNOTE:\fP
.INDENT 0.0
Expand All @@ -51,18 +51,18 @@ $ python \-\-version
.UNINDENT
.UNINDENT
.sp
You should get some output like \fB3.10.8\fP\&. If you do not have Python, please
You should get some output like \fB3.12.1\fP\&. If you do not have Python, please
install the latest 3.x version from \fI\%python.org\fP
.sp
Additionally, make sure you have \fI\%pip\fP available.
Additionally, make sure you have \fI\%pip\fP available, assuming you install via pip, our preferred method of installation.
Check this by running
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
$ pip \-\-version
pip 22.3.1
pip 24.0

.ft P
.fi
Expand Down Expand Up @@ -206,24 +206,31 @@ For example when installing the \fBrequests\fP library, you should get output si
.ft C
$ pipenv install requests
Creating a virtualenv for this project...
Pipfile: C:\eUsers\ematte\eProjects\epipenv\-triage\eexample\ePipfile
Using C:/Users/matte/AppData/Local/Programs/Python/Python311/python.exe (3.11.2) to create virtualenv...
[ ] Creating virtual environment...created virtual environment CPython3.11.2.final.0\-64 in 488ms
creator CPython3Windows(dest=C:\eUsers\ematte\e.virtualenvs\eexample\-7V6BFyzL, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\eUsers\ematte\eAppData\eLocal\epypa\evirtualenv)
added seed packages: pip==23.0, setuptools==67.1.0, wheel==0.38.4
activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Pipfile: /home/matteius/pipenv\-triage/test_install2/Pipfile
Using default python from /mnt/extra/miniconda3/bin/python (3.12.1) to create virtualenv...
Creating virtual environment...created virtual environment CPython3.12.1.final.0\-64 in 139ms
creator CPython3Posix(dest=/home/matteius/Envs/test_install2\-DMnDbAT9, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, via=copy, app_data_dir=/home/matteius/.local/share/virtualenv)
added seed packages: pip==24.0
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

Successfully created virtual environment!
Virtualenv location: C:\eUsers\ematte\e.virtualenvs\eexample\-7V6BFyzL
✔ Successfully created virtual environment!
Virtualenv location: /home/matteius/Envs/test_install2\-DMnDbAT9
Creating a Pipfile for this project...
Installing requests...
Resolving requests...
Installing...
Adding requests to Pipfile\(aqs [packages] ...
Installation Succeeded
Installing dependencies from Pipfile.lock (3b5a71)...
Added requests to Pipfile\(aqs [packages] ...
✔ Installation Succeeded
Pipfile.lock not found, creating...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Locking [dev\-packages] dependencies...
Updated Pipfile.lock (1977acb1ba9778abb66054090e2618a0a1f1759b1b3b32afd8a7d404ba18b4fb)!
To activate this project\(aqs virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing dependencies from Pipfile.lock (18b4fb)...

.ft P
.fi
Expand Down

0 comments on commit a84ecd3

Please sign in to comment.