8733 Commits

Author SHA1 Message Date
Matt Davis 70d2d280ac Merge pull request #6108 from samcarswell/pwsh-unix
Use fancy mode for pwsh on *nix (draft)
2024-03-26 21:49:35 -04:00
Matt Davis d78232d917 Smarter uninstall (#6029)
* Initial take at making uninstall like the inverse of upgrade.
* Updates based on testing the uninstall command
* Handle pre flag
* Add news fragment
2024-03-26 21:25:45 -04:00
Matt Davis 73220ccc57 Merge pull request #6114 from jralls/source-name
Check for name attribute in source parameter.
2024-03-26 21:18:55 -04:00
John Ralls e0f20158a5 Check for name attribute in source parameter.
Before trying to use it, return None if it's not there.

Fixes https://github.com/pypa/pipenv/issues/6106
2024-03-22 17:50:55 +01:00
Samuel Carswell cecc7d02f2 Correctly getting env vars in pipenv.cli.command.shell 2024-03-22 11:26:51 +11:00
Samuel Carswell 67bc43902c Use fancy mode for pwsh on *nix 2024-03-10 14:17:35 +11:00
Matt Davis 442116a9a7 Merge pull request #6084 from PzaThief/patch-1
Update CONTRIBUTING.md
2024-02-05 06:48:25 -05:00
Minha, Jeong 0e9a690899 Update CONTRIBUTING.md
fix stale contributing guide link
2024-02-05 19:30:58 +09:00
Matt Davis 80363b9374 Release v2023.12.1 2024-02-04 20:02:18 -05:00
Matt Davis c69d3ba0b6 Bumped version to 2023.12.1.
Signed-off-by: Matt Davis <matteius@gmail.com>
2024-02-04 20:01:49 -05:00
Matt Davis ddf548c0e3 Add news 2024-02-04 17:00:32 +01:00
Matt Davis 686ad951af remove debug print statements that should not have made it into the last release. 2024-02-04 17:00:32 +01:00
Matt Davis d4483dd2a3 Release v2023.12.0 2024-02-01 18:24:13 -05:00
Matt Davis e26edd59a6 Bumped version to 2023.12.0.
Signed-off-by: Matt Davis <matteius@gmail.com>
2024-02-01 18:24:02 -05:00
Matt Davis 23dbe27544 Only editable entry should trigger editable installs (#6069)
* Only editable entry should trigger editable installs

* add news fragment
2024-02-01 04:35:38 -05:00
Matt Davis 15149f0091 Remove forcing CI code path to use nt shell code path (#6072)
* Remove forcing CI code path to use nt shell code path and remove outdated comment

* Add news fragment
2024-01-31 21:40:52 -05:00
Matt Davis 95df3fd649 Convert from pydantic to vanilla dataclasses (includes pythonfinder 2.1.0) (#6065)
* Upgrade `pythonfinder==2.1.0`

* Try to  normalize on using pathlib basics and storing string paths in dataclass to compare against.

* Completely remove posix path conversions.

* Round 2 of pydantic conversions -- pydantic removal from pipenv.

* Add news fragment
2024-01-28 11:53:42 -05:00
Matt Davis 2bd7eab65e Fix release CI step for next release 2024-01-21 22:13:02 -05:00
Matt Davis 7a640f2126 Release v2023.11.17 2024-01-21 22:03:31 -05:00
Matt Davis d202fac429 Bumped version to 2023.11.17.
Signed-off-by: Matt Davis <matteius@gmail.com>
2024-01-21 22:03:24 -05:00
Matt Davis 542554e4e8 upgrade sphinx due to release script bug 2024-01-21 22:03:01 -05:00
Matt Davis 624ec01ef3 Vendoring in pip-23.3.2 (#6064) 2024-01-21 21:39:53 -05:00
Matt Davis 0379507abb Update release script to enforce semver going forward in 2024 (#6052)
* Update release script to enforce semver going forward in 2024

* Update pipfile/lock for semver

* fix readme

* Update CI vendoring step for semver

* Dependeapot warning about version of pytest we are on

* remove options from help
2024-01-21 21:16:56 -05:00
Matt Davis eaca109fb3 Merge pull request #6049 from Suprithvarma1/pipit
updated readme
2024-01-21 20:48:22 -05:00
Matt Davis 9217384411 Merge pull request #6055 from pypa/vendor-bump-pipdeptree
Vendor bump pipdeptree
2024-01-21 20:47:42 -05:00
dependabot[bot] cdaaa30848 Bump jinja2 from 3.1.2 to 3.1.3
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-17 11:43:58 +01:00
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
Oz Tiram abefb15913 Fix tests for reverse depency graph
pyyaml is now returned as PyYAML.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2024-01-04 21:57:14 +01:00
Oz Tiram c87379046f Fix patch applied at vendoring to pipdeptree
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2024-01-04 21:33:31 +01:00
Oz Tiram 4e45725fc8 Vendoring: add snippet for bumping pipdeptree
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2024-01-04 15:06:33 +01:00
Oz Tiram b1e69d07af Fix import path of PackageDAG
pipdeptree moved it in the recent versions.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2024-01-04 14:59:33 +01:00
Oz Tiram d5564b082a Bump vendored pipdeptree
Also update the patch we apply

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2024-01-04 14:56:56 +01:00
Suprithvarma1 336a6f4b66 updated readme 2023-12-22 15:25:59 +05:30
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