KOLANICH
3764736f20
Explicitly specify build-backend in pyproject.toml ( #7742 )
2020-04-10 20:16:21 +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
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
Stéphane Bidoul
196706d305
Better freeze using direct_url.json
2020-04-01 22:57:00 +02: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
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
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