Commit Graph

8701 Commits

Author SHA1 Message Date
Aleksandr Mangin 463d9c8999 built index mapping using canonical package names instead of raw package names 2024-01-17 11:43:25 +01:00
Aleksandr Mangin dc261212c8 fixed a bug with locking packages with uncanonical names 2024-01-17 11:43:25 +01:00
Nikolay Aleksandrov Georgiev 8e0608593a news/6008.bugfix.rst - add short bugfix description 2023-12-16 00:43:03 +01:00
Nikolay Aleksandrov Georgiev 48d323286e pipenv/utils/requirements.py - fix quotation for CI check 2023-12-16 00:43:03 +01:00
geonik-code b1f4c381a0 Add markers to Pipfile when parsing requirements.txt
If there are markers specified in requirements.txt they are not currently transferred to Pipfile while generating it. This commit adds markers to Pipfile as defined in requirements.txt
2023-12-16 00:43:03 +01:00
Matt Davis da751e1f55 Merge pull request #6038 from pypa/safety-test-failure
Fix for the safety test failure in the CI
2023-12-06 02:58:23 -05:00
Matt Davis 4eb9256e26 Try fixing the CI 2023-12-06 02:31:01 -05:00
Matt Davis 210c24b35e Merge pull request #6033 from pypa/vendor-drop-markupsafe
Drop markupsafe - way too late for that
2023-12-06 01:54:11 -05:00
Matt Davis d0133f4ad6 Merge pull request #6021 from deivid-rodriguez/fix-key-error
Make `project.get_default_index()` populate a default name
2023-12-06 01:51:03 -05:00
Matt Davis 141443d882 Merge pull request #6023 from y-vectorfield/add_installation_method
Fix the issue(#6022): Add additional installation method in README
2023-12-06 01:50:10 -05:00
Matt Davis 230f200236 Merge pull request #6025 from stumpylog/main
Chore: Resolve CI deprecation warnings
2023-12-06 01:48:31 -05:00
Oz N Tiram 8ecc408c5f Drop markupsafe - way too late for that
This was added in commit c863ca1a4b
 as a depencdency of Jinja2 which was long removed.
2023-12-05 10:45:02 +01:00
Matt Davis 62c11f3140 Merge pull request #6024 from deivid-rodriguez/vendor-latest-tomlkit
Vendor latest tomlkit
2023-12-01 07:58:13 -05:00
David Rodríguez 054df4dfe3 Vendor latest tomlkit
I generated this patch with:

```
$ pip install -t . tomlkit==0.12.3 --upgrade
$ rm -rf tomlkit-0.12.3.dist-info
```

from pipenv/vendor folder.

Then seearch and replace "from tomlkit" with "from
pipenv.vendor.tomlkit", and restore the LICENSE file that got removed
for some reason.
2023-12-01 10:58:33 +01:00
Trenton H ef5383296a Updates the action to create a release to a maintained version 2023-11-22 09:03:34 -08:00
Yuhki Yano 98613edeb5 Fix the issue(#6022): Add additional installation method in README 2023-11-22 00:16:31 +09:00
David Rodríguez 6b61b7abd9 Make project.get_default_index() populate a default name
Otherwise using pipenv with a Pipfile the defaults a source without a
name causes a KeyError like:

```
Traceback (most recent call last):
  File "/usr/local/.pyenv/versions/3.11.5/lib/python3.11/site-packages/pipenv/resolver.py", line 675, in <module>
    main()
  File "/usr/local/.pyenv/versions/3.11.5/lib/python3.11/site-packages/pipenv/resolver.py", line 661, in main
    _main(
  File "/usr/local/.pyenv/versions/3.11.5/lib/python3.11/site-packages/pipenv/resolver.py", line 645, in _main
    resolve_packages(
  File "/usr/local/.pyenv/versions/3.11.5/lib/python3.11/site-packages/pipenv/resolver.py", line 612, in resolve_packages
    results, resolver = resolve(
                        ^^^^^^^^
  File "/usr/local/.pyenv/versions/3.11.5/lib/python3.11/site-packages/pipenv/resolver.py", line 592, in resolve
    return resolve_deps(
           ^^^^^^^^^^^^^
  File "/usr/local/.pyenv/versions/3.11.5/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 910, in resolve_deps
    results, hashes, internal_resolver = actually_resolve_deps(
                                         ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/.pyenv/versions/3.11.5/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 672, in actually_resolve_deps
    resolver = Resolver.create(
               ^^^^^^^^^^^^^^^^
  File "/usr/local/.pyenv/versions/3.11.5/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 222, in create
    index_lookup[package_name] = project.get_default_index()["name"]
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
KeyError: 'name'

```
2023-11-21 10:53:03 +01:00
github-actions[bot] 247a14369d Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-15 23:33:07 +00:00
Matt Davis 7ec8fee4f2 Release v2023.11.15 2023-11-15 18:31:23 -05:00
Matt Davis 85ba107e5b Treat all return paths of this method as strings (#6017)
* Treat all return paths of this method as strings (with test)
2023-11-15 18:31:00 -05:00
github-actions[bot] acbcdcc142 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-14 23:36:28 +00:00
Matt Davis ff5cbbb348 Release v2023.11.14 2023-11-14 18:32:14 -05:00
Matt Davis 55258f71c7 Assume that vcs and direct URL installs need to be reinstalled (#5936)
* Assume the vcs and direct URL installs need to be reinstalled
2023-11-14 18:01:15 -05:00
Matt Davis 9eb07b4439 add news fragment on behalf of contributor 2023-11-14 17:41:57 -05:00
Arnaud Dezandee bb0ca90fec Ignore existing venv dir when PIPENV_VENV_IN_PROJECT is false (#6009) 2023-11-14 17:40:56 -05:00
Matt Davis cd961a41b8 Fix issue-6011 direct file url path (#6012)
* Refactor this path logic to file url bug and re-use relative pathing logic.
* Handle case where the drive letter is different and so relative path may not be possible
* Add news fragment
2023-11-14 17:40:32 -05:00
Matt Davis bc668e6475 Merge pull request #5994 from mungojam/fix-keyring-warnings
* pass through pipfile index urls when creating https session so that keyring works
* Add news entry
2023-11-12 10:30:28 -05:00
Mark Adamson 023b6bccf7 Add news entry 2023-11-12 15:04:09 +00:00
Matt Davis b75f49698c Fix readthedocs build 2023-11-11 15:20:56 -05:00
Matt Davis f0a8075b3b Restore this code that should prevent the string has no attribute update bug. 2023-11-08 13:43:03 +01:00
Mark Adamson 9fb2cfa157 black formatting 2023-10-31 22:06:57 +00:00
Mark Adamson 2b1ebd03ba Fix trailing whitespace 2023-10-31 21:58:14 +00:00
github-actions[bot] 59a0c897f7 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-24 22:27:05 +00:00
Matt Davis 07787da9aa Release v2023.10.24 2023-10-24 18:24:04 -04:00
Mark Adamson 7a0b4821df pass through pipfile index urls when creating https session so that keyring works 2023-10-24 23:03:29 +01:00
Matt Davis 49a86af632 fix ruff lint 2023-10-24 17:49:37 -04:00
Matt Davis 1b3b61eb21 Python 3.12 support (passing) (#5987)
* pipenv support for python 3.12
2023-10-24 17:26:12 -04:00
Matt Davis 548fe82597 add news fragment 2023-10-23 10:10:11 +02:00
Matt Davis 5793e62407 Ran across this edge case of the new release with PyJWT 2023-10-23 10:10:11 +02:00
Matt Davis c70337f146 add news fragment 2023-10-22 11:29:27 -04:00
Matt Davis ebc3883dac Vendor pip 23.3.1 2023-10-22 11:26:16 -04:00
Matt Davis 565bc44ed0 Add news fragment 2023-10-21 21:35:59 +02:00
Matt Davis ab392a6404 Add missing files 2023-10-21 21:35:59 +02:00
Matt Davis 649a05842d Update all vendoring to latest (except pipdeptree). 2023-10-21 21:35:59 +02:00
Matt Davis 454b3b8f23 Update all vendoring to latest (except pipdeptree). 2023-10-21 21:35:59 +02:00
Matt Davis c01c899855 Update all vendoring to latest 2023-10-21 21:35:59 +02:00
Matt Davis 5d9f3272c6 Upgrade pythonfinder==2.0.6 2023-10-21 21:35:59 +02:00
Matt Davis 1939102e60 Merge pull request #5990 from daveschaefer/sort-category-alphabetical2
Simplify sorting code
2023-10-20 20:26:28 -04:00
Dave Schaefer 1a8c9de922 Simplify sorting code
For https://github.com/pypa/pipenv/issues/5964
As suggested in https://github.com/pypa/pipenv/pull/5965

We don't need to cast to `dict` first, we can just sort.
2023-10-20 17:35:16 -06:00
Matt Davis c39a7a6177 pre-bump to dev version 2023-10-20 08:55:23 -04:00