mirror of https://github.com/pypa/pip
Update doc and comment URLs to https where available
This commit is contained in:
parent
52749614ea
commit
9c4bd6d5eb
12
NEWS.rst
12
NEWS.rst
|
@ -495,7 +495,7 @@ Improved Documentation
|
||||||
- When installing, if building a wheel fails, clear up the build directory
|
- When installing, if building a wheel fails, clear up the build directory
|
||||||
before falling back to a source install. (#3047)
|
before falling back to a source install. (#3047)
|
||||||
- Fix user directory expansion when ``HOME=/``. Workaround for Python bug
|
- Fix user directory expansion when ``HOME=/``. Workaround for Python bug
|
||||||
http://bugs.python.org/issue14768. (#2996)
|
https://bugs.python.org/issue14768. (#2996)
|
||||||
- Correct reporting of requirements file line numbers. (#3009, #3125)
|
- Correct reporting of requirements file line numbers. (#3009, #3125)
|
||||||
- Fixed Exception(IOError) for ``pip freeze`` and ``pip list`` commands with
|
- Fixed Exception(IOError) for ``pip freeze`` and ``pip list`` commands with
|
||||||
subversion >= 1.7. (#1062, #3346)
|
subversion >= 1.7. (#1062, #3346)
|
||||||
|
@ -938,7 +938,7 @@ Improved Documentation
|
||||||
- ``pip wheel`` was not downloading wheels that already existed. (#1320, #1524)
|
- ``pip wheel`` was not downloading wheels that already existed. (#1320, #1524)
|
||||||
- ``pip install --download`` was failing using local ``--find-links``.
|
- ``pip install --download`` was failing using local ``--find-links``.
|
||||||
(#1111, #1524)
|
(#1111, #1524)
|
||||||
- Workaround for Python bug http://bugs.python.org/issue20053. (#1544)
|
- Workaround for Python bug https://bugs.python.org/issue20053. (#1544)
|
||||||
- Don't pass a unicode __file__ to setup.py on Python 2.x. (#1583)
|
- Don't pass a unicode __file__ to setup.py on Python 2.x. (#1583)
|
||||||
- Verify that the Wheel version is compatible with this pip. (#1569)
|
- Verify that the Wheel version is compatible with this pip. (#1569)
|
||||||
|
|
||||||
|
@ -1045,7 +1045,7 @@ Improved Documentation
|
||||||
- Added support for installing and building wheel archives. Thanks Daniel Holth,
|
- Added support for installing and building wheel archives. Thanks Daniel Holth,
|
||||||
Marcus Smith, Paul Moore, and Michele Lacchia (#845)
|
Marcus Smith, Paul Moore, and Michele Lacchia (#845)
|
||||||
- Applied security patch to pip's ssl support related to certificate DNS
|
- Applied security patch to pip's ssl support related to certificate DNS
|
||||||
wildcard matching (http://bugs.python.org/issue17980).
|
wildcard matching (https://bugs.python.org/issue17980).
|
||||||
- To satisfy pip's setuptools requirement, pip now recommends setuptools>=0.8,
|
- To satisfy pip's setuptools requirement, pip now recommends setuptools>=0.8,
|
||||||
not distribute. setuptools and distribute are now merged into one project
|
not distribute. setuptools and distribute are now merged into one project
|
||||||
called 'setuptools'. (#1003)
|
called 'setuptools'. (#1003)
|
||||||
|
@ -1169,7 +1169,7 @@ Improved Documentation
|
||||||
instead. (#82)
|
instead. (#82)
|
||||||
- Only warn about version conflicts if there is actually one. This re-enables
|
- Only warn about version conflicts if there is actually one. This re-enables
|
||||||
using ``==dev`` in requirements files. (#436)
|
using ``==dev`` in requirements files. (#436)
|
||||||
- Moved tests to be run on Travis CI: http://travis-ci.org/pypa/pip
|
- Moved tests to be run on Travis CI: https://travis-ci.org/pypa/pip
|
||||||
- Added a better help formatter.
|
- Added a better help formatter.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1304,7 +1304,7 @@ Improved Documentation
|
||||||
- Added global --user flag as shortcut for --install-option="--user". From
|
- Added global --user flag as shortcut for --install-option="--user". From
|
||||||
Ronny Pfannschmidt.
|
Ronny Pfannschmidt.
|
||||||
- Added support for `PyPI mirrors <http://pypi.python.org/mirrors>`_ as
|
- Added support for `PyPI mirrors <http://pypi.python.org/mirrors>`_ as
|
||||||
defined in `PEP 381 <http://www.python.org/dev/peps/pep-0381/>`_, from
|
defined in `PEP 381 <https://www.python.org/dev/peps/pep-0381/>`_, from
|
||||||
Jannis Leidel.
|
Jannis Leidel.
|
||||||
- Fixed git revisions being ignored. Thanks John-Scott Atlakson. (#138)
|
- Fixed git revisions being ignored. Thanks John-Scott Atlakson. (#138)
|
||||||
- Fixed initial editable install of github package from a tag failing. Thanks
|
- Fixed initial editable install of github package from a tag failing. Thanks
|
||||||
|
@ -1490,7 +1490,7 @@ Improved Documentation
|
||||||
might notice this if you use a custom index that is
|
might notice this if you use a custom index that is
|
||||||
slash-sensitive).
|
slash-sensitive).
|
||||||
- Improvements on Windows (from `Ionel Maries Cristian
|
- Improvements on Windows (from `Ionel Maries Cristian
|
||||||
<http://ionelmc.wordpress.com/>`_).
|
<https://ionelmc.wordpress.com/>`_).
|
||||||
- Fixed problem with not being able to install private git repositories.
|
- Fixed problem with not being able to install private git repositories.
|
||||||
- Make ``pip zip`` zip all its arguments, not just the first.
|
- Make ``pip zip`` zip all its arguments, not just the first.
|
||||||
- Fix some filename issues on Windows.
|
- Fix some filename issues on Windows.
|
||||||
|
|
|
@ -7,7 +7,7 @@ The `PyPA recommended`_ tool for installing Python packages.
|
||||||
:target: https://pypi.org/project/pip/
|
:target: https://pypi.org/project/pip/
|
||||||
|
|
||||||
.. image:: https://img.shields.io/travis/pypa/pip/master.svg?label=travis-ci
|
.. image:: https://img.shields.io/travis/pypa/pip/master.svg?label=travis-ci
|
||||||
:target: http://travis-ci.org/pypa/pip
|
:target: https://travis-ci.org/pypa/pip
|
||||||
|
|
||||||
.. image:: https://img.shields.io/appveyor/ci/pypa/pip.svg?label=appveyor-ci
|
.. image:: https://img.shields.io/appveyor/ci/pypa/pip.svg?label=appveyor-ci
|
||||||
:target: https://ci.appveyor.com/project/pypa/pip/history
|
:target: https://ci.appveyor.com/project/pypa/pip/history
|
||||||
|
@ -37,6 +37,6 @@ rooms and mailing lists is expected to follow the `PyPA Code of Conduct`_.
|
||||||
.. _Changelog: https://pip.pypa.io/en/stable/news.html
|
.. _Changelog: https://pip.pypa.io/en/stable/news.html
|
||||||
.. _GitHub Page: https://github.com/pypa/pip
|
.. _GitHub Page: https://github.com/pypa/pip
|
||||||
.. _Issue Tracking: https://github.com/pypa/pip/issues
|
.. _Issue Tracking: https://github.com/pypa/pip/issues
|
||||||
.. _User mailing list: http://groups.google.com/group/python-virtualenv
|
.. _User mailing list: https://groups.google.com/forum/#!forum/python-virtualenv
|
||||||
.. _Dev mailing list: http://groups.google.com/group/pypa-dev
|
.. _Dev mailing list: https://groups.google.com/forum/#!forum/pypa-dev
|
||||||
.. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/
|
.. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
pip
|
pip
|
||||||
===
|
===
|
||||||
|
|
||||||
`User list <http://groups.google.com/group/python-virtualenv>`_ |
|
`User list <https://groups.google.com/forum/#!forum/python-virtualenv>`_ |
|
||||||
`Dev list <http://groups.google.com/group/pypa-dev>`_ |
|
`Dev list <https://groups.google.com/forum/#!forum/pypa-dev>`_ |
|
||||||
`GitHub <https://github.com/pypa/pip>`_ |
|
`GitHub <https://github.com/pypa/pip>`_ |
|
||||||
`PyPI <https://pypi.org/project/pip/>`_ |
|
`PyPI <https://pypi.org/project/pip/>`_ |
|
||||||
User IRC: #pypa |
|
User IRC: #pypa |
|
||||||
|
|
|
@ -157,8 +157,8 @@ appropriately.
|
||||||
* ``pip<18.0`` does not support the use of environment markers and extras, only
|
* ``pip<18.0`` does not support the use of environment markers and extras, only
|
||||||
version specifiers are respected.
|
version specifiers are respected.
|
||||||
|
|
||||||
.. _PEP517: http://www.python.org/dev/peps/pep-0517/
|
.. _PEP517: https://www.python.org/dev/peps/pep-0517/
|
||||||
.. _PEP518: http://www.python.org/dev/peps/pep-0518/
|
.. _PEP518: https://www.python.org/dev/peps/pep-0518/
|
||||||
|
|
||||||
Future Developments
|
Future Developments
|
||||||
~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -173,7 +173,7 @@ have migrated.
|
||||||
Specifically, applications should *not* expect to rely on there being any form
|
Specifically, applications should *not* expect to rely on there being any form
|
||||||
of backward compatibility guarantees around the ``setup.py`` interface.
|
of backward compatibility guarantees around the ``setup.py`` interface.
|
||||||
|
|
||||||
.. _PEP426: http://www.python.org/dev/peps/pep-0426/#metabuild-system
|
.. _PEP426: https://www.python.org/dev/peps/pep-0426/#metabuild-system
|
||||||
|
|
||||||
Build Options
|
Build Options
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|
|
@ -476,7 +476,7 @@ Finding Packages
|
||||||
pip searches for packages on `PyPI`_ using the
|
pip searches for packages on `PyPI`_ using the
|
||||||
`http simple interface <https://pypi.org/simple/>`_,
|
`http simple interface <https://pypi.org/simple/>`_,
|
||||||
which is documented `here <https://setuptools.readthedocs.io/en/latest/easy_install.html#package-index-api>`_
|
which is documented `here <https://setuptools.readthedocs.io/en/latest/easy_install.html#package-index-api>`_
|
||||||
and `there <http://www.python.org/dev/peps/pep-0301/>`_
|
and `there <https://www.python.org/dev/peps/pep-0301/>`_
|
||||||
|
|
||||||
pip offers a number of Package Index Options for modifying how packages are found.
|
pip offers a number of Package Index Options for modifying how packages are found.
|
||||||
|
|
||||||
|
@ -882,5 +882,5 @@ Examples
|
||||||
.. [1] This is true with the exception that pip v7.0 and v7.0.1 required quotes
|
.. [1] This is true with the exception that pip v7.0 and v7.0.1 required quotes
|
||||||
around specifiers containing environment markers in requirement files.
|
around specifiers containing environment markers in requirement files.
|
||||||
|
|
||||||
.. _PEP440: http://www.python.org/dev/peps/pep-0440
|
.. _PEP440: https://www.python.org/dev/peps/pep-0440/
|
||||||
.. _PEP508: http://www.python.org/dev/peps/pep-0508
|
.. _PEP508: https://www.python.org/dev/peps/pep-0508/
|
||||||
|
|
|
@ -177,8 +177,8 @@ Installing from Wheels
|
||||||
"Wheel" is a built, archive format that can greatly speed installation compared
|
"Wheel" is a built, archive format that can greatly speed installation compared
|
||||||
to building and installing from source archives. For more information, see the
|
to building and installing from source archives. For more information, see the
|
||||||
`Wheel docs <https://wheel.readthedocs.io>`_ ,
|
`Wheel docs <https://wheel.readthedocs.io>`_ ,
|
||||||
`PEP427 <http://www.python.org/dev/peps/pep-0427>`_, and
|
`PEP427 <https://www.python.org/dev/peps/pep-0427/>`_, and
|
||||||
`PEP425 <http://www.python.org/dev/peps/pep-0425>`_
|
`PEP425 <https://www.python.org/dev/peps/pep-0425/>`_
|
||||||
|
|
||||||
Pip prefers Wheels where they are available. To disable this, use the
|
Pip prefers Wheels where they are available. To disable this, use the
|
||||||
:ref:`--no-binary <install_--no-binary>` flag for :ref:`pip install`.
|
:ref:`--no-binary <install_--no-binary>` flag for :ref:`pip install`.
|
||||||
|
@ -355,7 +355,7 @@ look like this:
|
||||||
|
|
||||||
[global]
|
[global]
|
||||||
timeout = 60
|
timeout = 60
|
||||||
index-url = http://download.zope.org/ppix
|
index-url = https://download.zope.org/ppix
|
||||||
|
|
||||||
Each subcommand can be configured optionally in its own section so that every
|
Each subcommand can be configured optionally in its own section so that every
|
||||||
global setting with the same name will be overridden; e.g. decreasing the
|
global setting with the same name will be overridden; e.g. decreasing the
|
||||||
|
@ -527,11 +527,11 @@ User Installs
|
||||||
*************
|
*************
|
||||||
|
|
||||||
With Python 2.6 came the `"user scheme" for installation
|
With Python 2.6 came the `"user scheme" for installation
|
||||||
<http://docs.python.org/install/index.html#alternate-installation-the-user-scheme>`_,
|
<https://docs.python.org/3/install/index.html#alternate-installation-the-user-scheme>`_,
|
||||||
which means that all Python distributions support an alternative install
|
which means that all Python distributions support an alternative install
|
||||||
location that is specific to a user. The default location for each OS is
|
location that is specific to a user. The default location for each OS is
|
||||||
explained in the python documentation for the `site.USER_BASE
|
explained in the python documentation for the `site.USER_BASE
|
||||||
<http://docs.python.org/library/site.html#site.USER_BASE>`_ variable. This mode
|
<https://docs.python.org/3/library/site.html#site.USER_BASE>`_ variable. This mode
|
||||||
of installation can be turned on by specifying the :ref:`--user
|
of installation can be turned on by specifying the :ref:`--user
|
||||||
<install_--user>` option to ``pip install``.
|
<install_--user>` option to ``pip install``.
|
||||||
|
|
||||||
|
|
|
@ -164,7 +164,7 @@ def expanduser(path):
|
||||||
"""
|
"""
|
||||||
Expand ~ and ~user constructions.
|
Expand ~ and ~user constructions.
|
||||||
|
|
||||||
Includes a workaround for http://bugs.python.org/issue14768
|
Includes a workaround for https://bugs.python.org/issue14768
|
||||||
"""
|
"""
|
||||||
expanded = os.path.expanduser(path)
|
expanded = os.path.expanduser(path)
|
||||||
if path.startswith('~/') and expanded.startswith('//'):
|
if path.startswith('~/') and expanded.startswith('//'):
|
||||||
|
|
|
@ -43,7 +43,7 @@ class Git(VersionControl):
|
||||||
def __init__(self, url=None, *args, **kwargs):
|
def __init__(self, url=None, *args, **kwargs):
|
||||||
|
|
||||||
# Works around an apparent Git bug
|
# Works around an apparent Git bug
|
||||||
# (see http://article.gmane.org/gmane.comp.version-control.git/146500)
|
# (see https://article.gmane.org/gmane.comp.version-control.git/146500)
|
||||||
if url:
|
if url:
|
||||||
scheme, netloc, path, query, fragment = urlsplit(url)
|
scheme, netloc, path, query, fragment = urlsplit(url)
|
||||||
if scheme.endswith('file'):
|
if scheme.endswith('file'):
|
||||||
|
|
|
@ -88,7 +88,7 @@ setup(
|
||||||
|
|
||||||
# Although 'package_data' is the preferred approach, in some case you may
|
# Although 'package_data' is the preferred approach, in some case you may
|
||||||
# need to place data files outside of your packages.
|
# need to place data files outside of your packages.
|
||||||
# see http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files
|
# see https://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files
|
||||||
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
|
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
|
||||||
data_files=[('my_data', ['data/data_file'])],
|
data_files=[('my_data', ['data/data_file'])],
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ def test_env_vars_override_config_file(script, virtualenv):
|
||||||
_test_env_vars_override_config_file(script, virtualenv, config_file)
|
_test_env_vars_override_config_file(script, virtualenv, config_file)
|
||||||
finally:
|
finally:
|
||||||
# `os.close` is a workaround for a bug in subprocess
|
# `os.close` is a workaround for a bug in subprocess
|
||||||
# http://bugs.python.org/issue3210
|
# https://bugs.python.org/issue3210
|
||||||
os.close(fd)
|
os.close(fd)
|
||||||
os.remove(config_file)
|
os.remove(config_file)
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ def test_config_file_override_stack(script, virtualenv):
|
||||||
_test_config_file_override_stack(script, virtualenv, config_file)
|
_test_config_file_override_stack(script, virtualenv, config_file)
|
||||||
finally:
|
finally:
|
||||||
# `os.close` is a workaround for a bug in subprocess
|
# `os.close` is a workaround for a bug in subprocess
|
||||||
# http://bugs.python.org/issue3210
|
# https://bugs.python.org/issue3210
|
||||||
os.close(fd)
|
os.close(fd)
|
||||||
os.remove(config_file)
|
os.remove(config_file)
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ class TestUserCacheDir:
|
||||||
def test_user_cache_dir_linux_home_slash(self, monkeypatch):
|
def test_user_cache_dir_linux_home_slash(self, monkeypatch):
|
||||||
monkeypatch.setattr(appdirs, "WINDOWS", False)
|
monkeypatch.setattr(appdirs, "WINDOWS", False)
|
||||||
monkeypatch.setattr(os, "path", posixpath)
|
monkeypatch.setattr(os, "path", posixpath)
|
||||||
# Verify that we are not affected by http://bugs.python.org/issue14768
|
# Verify that we are not affected by https://bugs.python.org/issue14768
|
||||||
monkeypatch.delenv("XDG_CACHE_HOME", raising=False)
|
monkeypatch.delenv("XDG_CACHE_HOME", raising=False)
|
||||||
monkeypatch.setenv("HOME", "/")
|
monkeypatch.setenv("HOME", "/")
|
||||||
monkeypatch.setattr(sys, "platform", "linux2")
|
monkeypatch.setattr(sys, "platform", "linux2")
|
||||||
|
@ -212,7 +212,7 @@ class TestUserDataDir:
|
||||||
def test_user_data_dir_linux_home_slash(self, monkeypatch):
|
def test_user_data_dir_linux_home_slash(self, monkeypatch):
|
||||||
monkeypatch.setattr(appdirs, "WINDOWS", False)
|
monkeypatch.setattr(appdirs, "WINDOWS", False)
|
||||||
monkeypatch.setattr(os, "path", posixpath)
|
monkeypatch.setattr(os, "path", posixpath)
|
||||||
# Verify that we are not affected by http://bugs.python.org/issue14768
|
# Verify that we are not affected by https://bugs.python.org/issue14768
|
||||||
monkeypatch.delenv("XDG_DATA_HOME", raising=False)
|
monkeypatch.delenv("XDG_DATA_HOME", raising=False)
|
||||||
monkeypatch.setenv("HOME", "/")
|
monkeypatch.setenv("HOME", "/")
|
||||||
monkeypatch.setattr(sys, "platform", "linux2")
|
monkeypatch.setattr(sys, "platform", "linux2")
|
||||||
|
@ -294,7 +294,7 @@ class TestUserConfigDir:
|
||||||
def test_user_config_dir_linux_home_slash(self, monkeypatch):
|
def test_user_config_dir_linux_home_slash(self, monkeypatch):
|
||||||
monkeypatch.setattr(appdirs, "WINDOWS", False)
|
monkeypatch.setattr(appdirs, "WINDOWS", False)
|
||||||
monkeypatch.setattr(os, "path", posixpath)
|
monkeypatch.setattr(os, "path", posixpath)
|
||||||
# Verify that we are not affected by http://bugs.python.org/issue14768
|
# Verify that we are not affected by https://bugs.python.org/issue14768
|
||||||
monkeypatch.delenv("XDG_CONFIG_HOME", raising=False)
|
monkeypatch.delenv("XDG_CONFIG_HOME", raising=False)
|
||||||
monkeypatch.setenv("HOME", "/")
|
monkeypatch.setenv("HOME", "/")
|
||||||
monkeypatch.setattr(sys, "platform", "linux2")
|
monkeypatch.setattr(sys, "platform", "linux2")
|
||||||
|
|
|
@ -78,7 +78,7 @@ def test_to_native_str_type():
|
||||||
@pytest.mark.parametrize("home,path,expanded", [
|
@pytest.mark.parametrize("home,path,expanded", [
|
||||||
("/Users/test", "~", "/Users/test"),
|
("/Users/test", "~", "/Users/test"),
|
||||||
("/Users/test", "~/.cache", "/Users/test/.cache"),
|
("/Users/test", "~/.cache", "/Users/test/.cache"),
|
||||||
# Verify that we are not affected by http://bugs.python.org/issue14768
|
# Verify that we are not affected by https://bugs.python.org/issue14768
|
||||||
("/", "~", "/"),
|
("/", "~", "/"),
|
||||||
("/", "~/.cache", "/.cache"),
|
("/", "~/.cache", "/.cache"),
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue