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
Fabian Meeßen
e0ba354f0c
Merge branch 'pypa:main' into enhancement-5954-reduce-notifications
2023-10-06 17:02:38 +02:00
Fabian Meeßen
6cc482ceeb
Add quiet option to pipenv shell.
...
--quiet now hides the message
"Launching subshell in virtual environment..."
2023-10-06 16:59:45 +02:00
Dave Schaefer
e87e2ceb05
Sort packages alphabetically inside each category
...
When installing any package, sort all package names alphabetically inside the category, for easier reading.
Unsure if this is the best place or way to implement.
Small prototype to add to discussion in https://github.com/pypa/pipenv/issues/5964
Tests:
before patch:
```
AssertionError: assert ['atomicwrite...ama', 'build'] == ['atomicwrite...', 'colorama']
At index 1 diff: 'colorama' != 'build'
Full diff:
- ['atomicwrites', 'build', 'colorama']
? ---------
+ ['atomicwrites', 'colorama', 'build']
? +++++++++
```
after patch: pass.
2023-10-04 21:35:16 -06:00
github-actions[bot]
e45cc7a9ab
Bumped version.
...
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-03 13:24:09 +00:00
Matt Davis
71efe85d89
Release v2023.10.3
2023-10-03 09:21:33 -04:00
Matt Davis
a725b20e7a
Merge pull request #5957 from fmssn/enhancement-5939-fix-noisy-output-pipenv-check
...
set regular logging level to ERROR
2023-10-03 09:19:50 -04:00
Matt Davis
0d91ab1a5b
Merge pull request #5959 from pypa/dependabot/pip/urllib3-1.26.17
...
Bump urllib3 from 1.26.14 to 1.26.17
2023-10-03 09:17:30 -04:00
Matt Davis
ed78024dea
Merge pull request #5960 from pypa/dependabot/pip/docs/urllib3-1.26.17
...
Bump urllib3 from 1.26.14 to 1.26.17 in /docs
2023-10-03 09:17:19 -04:00
Matt Davis
58e013b711
Merge pull request #5958 from pypa/dependabot/pip/examples/urllib3-2.0.6
...
Bump urllib3 from 2.0.2 to 2.0.6 in /examples
2023-10-03 09:17:03 -04:00
dependabot[bot]
26055469a6
Bump urllib3 from 1.26.14 to 1.26.17 in /docs
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.14 to 1.26.17.
- [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.14...1.26.17 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-03 03:00:03 +00:00
dependabot[bot]
495f11ba37
Bump urllib3 from 1.26.14 to 1.26.17
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.14 to 1.26.17.
- [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.14...1.26.17 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-03 00:12:18 +00:00
dependabot[bot]
80548efda4
Bump urllib3 from 2.0.2 to 2.0.6 in /examples
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.0.2 to 2.0.6.
- [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.2...2.0.6 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-02 23:36:57 +00:00
Fabian Meeßen
360100534f
change logging level based on verbosity arg
...
- add verbosity arg to check command, if verbosity if None (default),
logging level is set to warn
- create a build_options function in check.py for handling all arguments
used to build the options string for pipenv check. Was needed
because otherwise there were too many branches for the linter.
2023-10-02 17:56:34 +02:00
Fabian Meeßen
757fc9a702
set regular logging level to ERROR
2023-09-30 21:44:34 +02:00
Matt Davis
b6163a8bfd
Merge pull request #5951 from fmssn/main
...
Catch req.link = None
2023-09-28 23:05:25 -04:00
umarmnaq
f5032e9a3d
Update README.md ( #5946 )
2023-09-28 23:25:35 +02:00