Commit Graph

8649 Commits

Author SHA1 Message Date
Matt Davis 4e628dba5b Remove double headers 2023-10-20 08:51:16 -04:00
Matt Davis 8fd6dfc9cc Merge pull request #5965 from daveschaefer/sort-category-alphabetical
feat: Option to sort packages alphabetically inside each Pipfile category
2023-10-20 07:41:10 -04:00
Matt Davis 1ed9cfc1b0 Merge pull request #5982 from pypa/dependabot/pip/docs/urllib3-1.26.18
Bump urllib3 from 1.26.17 to 1.26.18 in /docs
2023-10-20 07:39:32 -04:00
Matt Davis 8e73a7f546 Merge pull request #5971 from notEvil/i5969
Change `--py` to use `print` instead of `console.print`
2023-10-20 07:10:00 -04:00
Matt Davis 2abff550dd Merge pull request #5981 from pypa/dependabot/pip/examples/urllib3-2.0.7
Bump urllib3 from 2.0.6 to 2.0.7 in /examples
2023-10-20 06:57:49 -04:00
Matt Davis 04f01063be Merge pull request #5879 from deronnax/mdupuy/drop-python-3.7
Drop support for python3.7
2023-10-20 06:56:08 -04:00
notEvil 4b8ec50d2b Added news fragment 2023-10-20 12:06:01 +02:00
Mathieu Dupuy 0f5ad4919f add news fragments 2023-10-20 10:23:49 +02:00
Mathieu Dupuy 4e3a77d9d5 Revert "even more cleaning"
This reverts commit 578d3db710.
2023-10-20 10:23:49 +02:00
Mathieu Dupuy 578d3db710 even more cleaning 2023-10-20 09:48:23 +02:00
Mathieu Dupuy ad6cf4fb3d remove some more 3.7 leftovers 2023-10-20 09:47:55 +02:00
dependabot[bot] f687cb242e Bump urllib3 from 2.0.6 to 2.0.7 in /examples
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.6...2.0.7)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 01:14:23 +00:00
Matt Davis f49d53d40c Merge pull request #5980 from pypa/dependabot/pip/urllib3-1.26.18
Bump urllib3 from 1.26.17 to 1.26.18
2023-10-19 21:13:30 -04:00
dependabot[bot] 34b281124d Bump urllib3 from 1.26.17 to 1.26.18
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.17 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.17...1.26.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 12:51:27 +00:00
Matt Davis 9e09efac53 Add news fragment 2023-10-19 14:50:27 +02:00
Matt Davis 9d9baee3c3 Skip test because truststore is now included. 2023-10-19 14:50:27 +02:00
Matt Davis 80c6f2128f Handle edge case where install req name is None 2023-10-19 14:50:27 +02:00
Matt Davis b47a1c539c correction 2023-10-19 14:50:27 +02:00
Matt Davis 24433a80cc correction 2023-10-19 14:50:27 +02:00
Matt Davis d6861ceff0 Safer fold markers (old version was getting maximum recursion depth exceeded). 2023-10-19 14:50:27 +02:00
Matt Davis 94ea6e842f update to pip 23.3 2023-10-19 14:50:27 +02:00
Matt Davis 74f3843687 updated patch 2023-10-19 14:50:27 +02:00
Matt Davis 4d71aae537 Update pip version 23.3 2023-10-19 14:50:27 +02:00
Matt Davis 3ebfc65eb7 Merge pull request #5985 from iamed2/patch-1
Update advanced.md to restore Automatic Python Installation header
2023-10-19 06:17:30 -04:00
Matt Davis 8f9d25a234 Merge pull request #5984 from engineerakki/fix-ruff-linter
ci: fix ruff linter
2023-10-19 06:09:43 -04:00
engineerakki 527cfd0592 ci: fix ruff linter 2023-10-19 08:22:18 +02:00
Eric Davies 27587ad5d0 Update advanced.md to restore Automatic Python Installation header 2023-10-18 18:26:18 -05:00
dependabot[bot] 80519ed335 Bump urllib3 from 1.26.17 to 1.26.18 in /docs
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.17 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.17...1.26.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 01:19:15 +00:00
Matt Davis e7d145802f Merge pull request #5966 from fmssn/enhancement-5954-reduce-notifications
Add quiet option to pipenv shell.
2023-10-16 06:10:54 -04:00
Fabian Meeßen 9c1344efcd add new line for linter 2023-10-16 11:40:12 +02:00
Fabian Meeßen 0c211342a6 add news fragment 2023-10-16 11:34:31 +02:00
Mathieu Dupuy f7ae8f10a8 more cleaning 2023-10-11 13:33:12 +02:00
Mathieu Dupuy c1062f2230 upgrade lru_cache syntax to 3.8 2023-10-11 13:33:12 +02:00
Mathieu Dupuy b89c79116d drop python3.7 2023-10-11 13:33:10 +02:00
Oz Tiram 16a6d7624e Add news snippet 2023-10-11 09:48:13 +02:00
Oz Tiram 451185f90b Drop pep517
All tests pass on Linux without it.
2023-10-11 09:48:13 +02:00
notEvil 49dcea17db use print instead of click.echo 2023-10-11 09:38:49 +02:00
notEvil 6da5114922 Fixes #5969 by adding and using argument bare to function do_py 2023-10-11 09:24:07 +02:00
Dave Schaefer 4802425c86 Add upgrade tests 2023-10-10 21:11:21 -06:00
Dave Schaefer 4a292501c8 Created sort category toml tables
This is not as clean as only working with dicts.
`p[category]`, the parsed pipfile category,
is already of type `tomlkit.items.Table` when it is passed to `_sort_category()`.

Currently this is only constructing the table right before data is sent to `write_tom()`.
2023-10-10 21:09:14 -06:00
Dave Schaefer 966afee813 Add tests for sorting str and dict values
Currently these fail. Will be fixed shortly in the next patch.

Pipfiles can contain different formats for package specifications.
Current default behaivour is to sort packages into groups - all string values will be sorted first, followed by all dictionary values. e.g.

```
aa = "*"
bb = "*"
cc = "*"
aaa = {version = "*"}
bbb = {version = "*"}
ccc = {version = "*"}
```

This will have to be fixed.
2023-10-10 21:03:25 -06:00
Dave Schaefer 6a5cd68a28 Move common sorting code to function 2023-10-10 20:54:50 -06:00
Dave Schaefer 4010f5d197 Mark install for other tests that install
Since the goal of the mark is to note which tests use it.
2023-10-08 10:52:05 -06:00
Dave Schaefer 4de4d20b74 mark uninstall tests with install
since the test calls `install` while running.
as discussed in https://github.com/pypa/pipenv/pull/5965
2023-10-08 10:48:26 -06:00
Dave Schaefer f2b7b3a823 Add doc for new sorting directive 2023-10-08 10:39:33 -06:00
Dave Schaefer 773fcb519d Add docs for [pipenv] directives
Based on notes from existing code and release docs

Note that `keep_outdated` has been discontinued,
so no docs added for it.
2023-10-08 10:32:24 -06:00
Dave Schaefer 7b33b04374 Implement pipfile sorting for uninstall
using sorting directive
2023-10-08 09:51:40 -06:00
Dave Schaefer 9bc4ffa506 Rename sorting directive
`sort_pipfile` , as requested in https://github.com/pypa/pipenv/pull/5965
2023-10-08 09:46:45 -06:00
Dave Schaefer 8e189035a3 Added new Pipenv option sort_alphabetical
Sort packages alphabetically inside each category.
Currently runs on `install`.
2023-10-07 11:01:53 -06:00
Fabian Meeßen cf7662c13d fix formatting 2023-10-06 17:09:50 +02:00