Pradyun Gedam
95edc13a48
Reword toml.vendor
2020-04-20 02:11:13 +05:30
Pradyun Gedam
7cb733545b
Reword pytoml.vendor
2020-04-20 02:11:12 +05:30
Pradyun Gedam
e8eb80802f
Fix wording in 7962.bugfix
2020-04-20 02:11:12 +05:30
Pradyun Gedam
01d12700f1
Reword 8013.bugfix
2020-04-20 02:11:12 +05:30
Pradyun Gedam
45094a6c32
Reword 7856.bugfix
2020-04-20 02:11:12 +05:30
Pradyun Gedam
a5d23523b6
Remove 8075.feature
2020-04-20 02:11:12 +05:30
Pradyun Gedam
9c45fd43ca
Remove 7826.feature
2020-04-20 02:11:12 +05:30
Pradyun Gedam
5483e6da9e
Add NEWS entry for the alpha resolver
2020-04-20 00:27:17 +05:30
Pradyun Gedam
a75f2fa31d
Document pip 21.0 as end of Python 2 support
2020-04-19 23:42:39 +05:30
Tzu-ping Chung
b69f70e725
News
2020-04-18 23:10:55 +08:00
Pradyun Gedam
5bea530899
Change certifi version to 2020.04.05.1
2020-04-15 23:27:30 +05:30
Pradyun Gedam
101332f70f
Upgrade urllib3 to 1.25.8
2020-04-15 21:35:58 +05:30
Pradyun Gedam
812f2a9f5b
Upgrade idna to 2.9
2020-04-15 21:35:58 +05:30
Pradyun Gedam
05aae8f888
Upgrade certifi to 2020.4.5.1
2020-04-15 21:35:57 +05:30
Pradyun Gedam
e94f93530f
Upgrade requests to 2.23.0
2020-04-15 21:35:55 +05:30
Pradyun Gedam
d2439f7d99
Upgrade pyparsing to 2.4.7
2020-04-15 21:35:52 +05:30
Pradyun Gedam
8ce1872cdd
Upgrade pep517 to 0.8.2
2020-04-15 21:35:49 +05:30
Pradyun Gedam
2694496d26
Upgrade packaging to 20.3
2020-04-15 21:35:45 +05:30
Pradyun Gedam
8f2b7c6344
Upgrade msgpack to 1.0.0
2020-04-15 21:35:43 +05:30
Pradyun Gedam
fc394ca52b
Upgrade distro to 1.5.0
2020-04-15 21:09:17 +05:30
Pradyun Gedam
2ece449217
Upgrade contextlib2 to 0.6.0.post1
2020-04-15 21:07:42 +05:30
Devesh Kumar Singh
ae8391b4b7
Type annotations for completion and debug in commands
2020-04-15 01:17:53 +05:30
Pradyun Gedam
e40d2670fa
Merge pull request #8045 from pradyunsg/pytoml-to-toml
...
Switch from `pytoml` to `toml`
2020-04-14 17:04:16 +05:30
Paul Moore
6a244de617
Merge pull request #8025 from catPill/fix-windows-writable-test
...
Fix Windows folder writable detection
2020-04-14 12:33:10 +01:00
Devesh Kumar Singh
02b3c68c76
Merge branch 'master' into add-mypy-annotations-commands
2020-04-14 16:35:49 +05:30
Devesh Kumar Singh
0470a82248
Type annotations for help, list and uninstall in commands
2020-04-14 16:07:13 +05:30
Pradyun Gedam
8b8fdd8429
Drop pytoml from vendored libraries
2020-04-14 13:07:20 +05:30
Pradyun Gedam
a1af9d517d
Vendor toml 0.10.0
2020-04-14 12:59:54 +05:30
Pradyun Gedam
471bc0e2c3
Merge pull request #7962 from CrafterKolyan/patch-1
...
Speed up `pip list --outdated`
2020-04-14 02:28:28 +05:30
Pradyun Gedam
3c1cf3e139
Merge pull request #7885 from NoahGorny/cache-trusted-host
...
Cache trusted host
2020-04-14 02:26:28 +05:30
Devesh Kumar Singh
0e8093ec5c
Type annotations for hash, show and wheel in commands
2020-04-14 01:18:09 +05:30
Pradyun Gedam
f458573de6
Merge pull request #7882 from sbidoul/build-in-place-7555-sbi
...
Build local directories in place
2020-04-13 21:33:02 +05:30
Pradyun Gedam
bdff935570
Merge pull request #6391 from duckinator/pip-cache
...
Add 'pip cache' command
2020-04-13 19:53:05 +05:30
Pradyun Gedam
15f8a35e4b
Merge pull request #7887 from NoahGorny/pip-debug-print-vendored-versions
...
pip debug: Add versions of vendored libraries to output
2020-04-13 19:29:27 +05:30
ghost
dbd2c2f760
Fix Windows folder writable detection
2020-04-12 20:38:43 +08:00
Stéphane Bidoul
88e6e6bc5c
build in place
2020-04-12 12:00:57 +02:00
Noah Gorny
e131c825d4
commands: debug: Add vendor library versions
2020-04-11 01:54:57 +03:00
Pradyun Gedam
5c9e83a3aa
Merge pull request #8012 from deveshks/fix-comments-in-test-install
...
Fix incorrect comment in tests in test_install
2020-04-10 21:36:28 +05:30
KOLANICH
3764736f20
Explicitly specify build-backend in pyproject.toml ( #7742 )
2020-04-10 20:16:21 +05:30
Devesh Kumar Singh
528a193dda
Fix incorrect comment in tests
2020-04-10 19:02:57 +05:30
Pradyun Gedam
81f1054865
Merge pull request #7873 from hroncok/no_copy_self
...
Prevent infinite recursion with pip wheel with $TMPDIR in $PWD
2020-04-10 18:56:31 +05:30
Pradyun Gedam
9360793a6c
Merge pull request #7987 from deveshks/add-tests-for-pip-cmds-ignoring-cwd
...
Add unit tests for pip commands not using cwd
2020-04-10 14:29:06 +05:30
Nikolay Korolev
b744854f44
Update news/7962.bugfix. Fix linter
...
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-04-09 17:57:10 +03:00
Nikolay Korolev
917ad6aa0e
Update news/7962.bugfix
...
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-04-09 17:19:54 +03:00
Nikolay Korolev
3acf8b7e4b
Merge branch 'master' into patch-1
2020-04-09 15:48:56 +03:00
Pradyun Gedam
c5da021142
Merge pull request #7959 from hrnciar/remove-shebang-from-nonexecutable-script
...
Remove shebang from nonexecutable script
2020-04-09 17:26:34 +05:30
Pradyun Gedam
c8e4afac57
Merge pull request #7977 from deveshks/add-mypy-annotations-commands
...
Added type annotations to pip._internal.commands.check
2020-04-09 17:15:59 +05:30
Pradyun Gedam
ea1295b720
Merge pull request #7965 from deveshks/warn-on-invalid-index-url
...
Warn if an invalid URL is passed with --index-url
2020-04-09 17:15:47 +05:30
Xavier Fernandez
ea9cb06c49
Merge pull request #7988 from McSinyx/tabulate
...
Fix tabulate col size in case of empty cell
2020-04-09 13:35:16 +02:00
Tomas Hrnciar
b438d47344
Remove shebang from nonexecutable script
...
When packaging pip in Fedora, we have realised
that there is a nonexecutable file with a shebang line.
It seems that the primary purpose of this file is to be imported from Python
code and hence the shebang appears to be unnecessary.
Shebangs are hard to handle when doing downstream packaging because it makes
sense for upstream to use `#!/usr/bin/env python` while in the RPM package, we
need to avoid that and use a more specific interpreter. Since the shebang was
unused, I propose to remove it to avoid the problems.
We have found more shebangs but in vendored packages. I have also opened PRs there:
https://github.com/ActiveState/appdirs/pull/144
https://github.com/psf/requests/pull/5410
https://github.com/chardet/chardet/pull/192
x
2020-04-09 11:53:21 +02:00
Danny McClanahan
6e7b16cec4
add failing test ; apply the fix ; add template NEWS entry
...
add failing test
apply the fix
add template NEWS entry according to https://pip.pypa.io/en/latest/development/contributing/#news-entries (wrong PR #)
rename news entry to the current PR #
respond to review comments
fix test failures
fix tests by adding uuid salt in urls
cache html page fetching by link
make CI pass (?)
make the types much better
finally listen to the maintainer and cache parse_links() by url :)
avoid caching parse_links() when the url is an index url
cleanup
add testing for uncachable marking
only conditionally vendor _lru_cache for py2
bugfix => feature
python 2 does not cache!
Do away with type: ignore with getattr()
respond to review comments
2020-04-07 12:01:43 -07:00
Nguyễn Gia Phong
c2aa573107
Fix tabulate col size in case of empty cell
...
Previously, the size is no less than len(str(None)) == 4.
This commit also add type hint and docstring to the function.
2020-04-06 17:56:49 +07:00
Devesh Kumar Singh
4c70c6d350
Warn if an invalid URL is passed with --index-url
2020-04-06 10:57:50 +05:30
Devesh Kumar Singh
2324ae422e
Add unit tests for pip commands not using cwd
2020-04-05 23:17:03 +05:30
Pradyun Gedam
eb865b4e10
Merge pull request #7955 from deveshks/pip-list-not-contain-pkg-work-dir
...
Don't list packages in current directory
2020-04-05 21:13:14 +05:30
Devesh Kumar Singh
feac595446
Don't use cwd in python -m pip command
2020-04-05 19:59:05 +05:30
Devesh Kumar Singh
c2fdf4a35b
Add mypy annotations to pip._internal.commands.check
2020-04-05 01:56:05 +05:30
Nikolay Korolev
3151566154
Add news
2020-04-02 15:58:27 +03:00
Stéphane Bidoul
196706d305
Better freeze using direct_url.json
2020-04-01 22:57:00 +02:00
Ellen Marie Dash
10d13762eb
[commands/cache] Be explicit about pip cache
only working on the wheel cache.
2020-04-01 16:54:42 -04:00
Ellen Marie Dash
d57dcd934e
[commands/cache] Add news file for cache command.
2020-04-01 16:54:03 -04:00
Paul Moore
657cf2515b
Merge pull request #7929 from McSinyx/tmp-file
...
Use better temporary files mechanism
2020-04-01 16:47:30 +01:00
Nguyễn Gia Phong
209c74f690
Use better temporary files mechanism
2020-04-01 22:02:34 +07:00
Devesh Kumar Singh
d166adaee5
Merge branch 'master' into remove-obsolete-git-urls
2020-04-01 19:36:31 +05:30
Pradyun Gedam
7b02273f3e
Merge pull request #7927 from deveshks/raise-exception-if-rev-empty-git-url
...
Raise an exception if revision is empty in git url
2020-04-01 18:17:36 +05:30
Devesh Kumar Singh
9af42c27e8
Clarification on removed urls
2020-03-31 20:40:57 +05:30
Devesh Kumar Singh
59df536906
Update newsfile message
2020-03-31 20:10:35 +05:30
Devesh Kumar Singh
6fbf80a9f9
Remove vcs urls pertaining to git protocol from docs
2020-03-31 13:35:05 +05:30
Xavier Fernandez
d79632a7a9
Remove test bugfix
...
This does not impact our users & should not appear in the changelog
2020-03-30 23:18:12 +02:00
Pradyun Gedam
57cb941645
Merge pull request #7891 from deveshks/ignore-uninstall-error-if-easy-install-missing
...
Don't fail uninstallation if easy-install.pth doesn't exist
2020-03-30 21:42:38 +05:30
cjc7373
c388315bc0
Clarify the usage of --no-binary and --only-binary command
2020-03-30 16:57:24 +02:00
Devesh Kumar Singh
051c3988b0
Reworded the news entry
2020-03-29 23:50:54 +05:30
gutsytechster
315447d170
fix(tests/lib): Catch subprocess.CalledProcessError
in need_executable
...
This fixes https://github.com/pypa/pip/issues/7924
2020-03-29 16:21:02 +05:30
Devesh Kumar Singh
106bd0d77f
Raise an exception if revision is empty in git url
2020-03-29 12:04:48 +05:30
Devesh Kumar Singh
326efa5c71
Defining multiple values for supported options
2020-03-28 14:35:31 +01:00
Devesh Kumar Singh
be2268ee87
Clarify use of freeze in pip in program example
2020-03-28 16:48:22 +05:30
Devesh Kumar Singh
7f37d5fc6a
Add issue fix description in news file
2020-03-28 02:18:21 +05:30
Sumana Harihareswara
f116e0c4ff
Add docs link to resolver improvement blog post
...
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-03-27 16:25:45 -04:00
Pradyun Gedam
eb232dc7a7
Merge pull request #7899 from deveshks/remove-emails-from-authors
...
Only use names in AUTHORS.txt
2020-03-27 16:53:18 +05:30
Noah Gorny
544c307ebf
session: Always cache responses from trusted-host source
...
news: Add news about default behaviour change
2020-03-26 21:29:18 +02:00
John T. Wodder II
c42b5d3716
Change docs link from PEP 301 to PEP 503
2020-03-25 23:57:18 -04:00
Devesh Kumar Singh
30d1870cc7
Only use names in AUTHORS.txt
2020-03-25 23:26:53 +05:30
Devesh Kumar Singh
4264d5e0d3
Don't fail uninstallation if easy-install.pth doesn't exist
2020-03-24 17:08:44 +05:30
Devesh Kumar Singh
145c189a49
Add a What Next page in getting started
2020-03-24 15:12:12 +05:30
Miro Hrončok
98aa09cf88
Prevent infinite recursion with pip wheel with $TMPDIR in $PWD
...
During a build of extension module within `pip wheel` the source directory is
recursively copied in a temporary directory.
See https://github.com/pypa/pip/issues/7555
When the temporary directory is inside the source directory
(for example by setting `TMPDIR=$PWD/tmp`) this caused an infinite recursion
that ended in:
[Errno 36] File name too long
We prevent that buy never copying the target to the target in _copy_source_tree.
Fixes https://github.com/pypa/pip/issues/7872
2020-03-19 18:07:56 +01:00
Pradyun Gedam
9e15cd49f2
Merge pull request #7767 from RDIL/copyright-docs
...
Added copyright doc
2020-03-18 16:31:24 +05:30
Tzu-ping Chung
36065cf2e0
Vendor ResolveLib from Git
...
We are vendoring from the Git source for now, so the bug fix turnover
can be quicker if there's anything wrong in the resolution logic.
HEAD up-to-date as of 2020-03-12.
2020-03-12 22:37:30 +08:00
Paul Moore
9b10b93503
Implement the resolvelib Requirement class
2020-03-11 11:37:56 +00:00
Jason R. Coombs
816efa1805
Update changelog
2020-03-06 12:43:10 -05:00
KOLANICH
958f4ec432
Added __repr__
for Configuration
.
2020-03-03 13:36:50 +03:00
sinscary
7e2bab41b9
update newsfile
2020-02-27 14:12:01 +05:30
sinscary
716c9202ee
Raise error if --user and --target arguments are used together
2020-02-27 12:22:56 +05:30
sinscary
268a2dd818
Revert "Raise error if --user and --target arguments are used together"
...
This reverts commit b6d775d98837a5eaf2cba73a719821c89a71fc8f.
2020-02-27 12:22:56 +05:30
sinscary
8380b2b09a
Raise error if --user and --target arguments are used together
2020-02-27 12:22:56 +05:30
Andy Kluger
42814f0124
Fix docs: comment stripping comes _after_ line continuation processing
2020-02-24 15:28:16 -05:00
Anudit Nagar
e6ed38dbce
Add info log when wheel building is skipped ( #7768 )
2020-02-23 22:56:36 +01:00
Christopher Hunt
40523794d8
Merge pull request #7747 from pfmoore/parsed_requirement
...
Refactor parse_requirements to be independent of InstallRequirement
2020-02-24 00:21:28 +08:00
Reece Dunham
aa4823341a
Update news/7767.doc
...
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-02-22 08:49:39 -05:00
Reece Dunham
7514fb2a10
News fragment
...
Signed-off-by: Reece Dunham <me@rdil.rocks>
2020-02-21 22:45:45 +00:00
Anudit Nagar
082c0f01d2
Update old-style formatting to new-style formatting ( #7762 )
2020-02-21 21:48:14 +05:30