summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS.rst12
-rw-r--r--README.rst6
-rw-r--r--docs/index.rst4
-rw-r--r--docs/reference/pip.rst6
-rw-r--r--docs/reference/pip_install.rst6
-rw-r--r--docs/user_guide.rst10
-rw-r--r--news/951c2359-ff29-4ed8-ba91-2e82dff5e5ad.trivial0
-rw-r--r--src/pip/_internal/compat.py2
-rw-r--r--src/pip/_internal/vcs/git.py2
-rw-r--r--tests/data/src/sample/setup.py2
-rw-r--r--tests/functional/test_install_config.py4
-rw-r--r--tests/unit/test_appdirs.py6
-rw-r--r--tests/unit/test_compat.py2
13 files changed, 31 insertions, 31 deletions
diff --git a/NEWS.rst b/NEWS.rst
index 02ae8cfa7..2457576e0 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -495,7 +495,7 @@ Improved Documentation
- When installing, if building a wheel fails, clear up the build directory
before falling back to a source install. (#3047)
- 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)
- Fixed Exception(IOError) for ``pip freeze`` and ``pip list`` commands with
subversion >= 1.7. (#1062, #3346)
@@ -938,7 +938,7 @@ Improved Documentation
- ``pip wheel`` was not downloading wheels that already existed. (#1320, #1524)
- ``pip install --download`` was failing using local ``--find-links``.
(#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)
- 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,
Marcus Smith, Paul Moore, and Michele Lacchia (#845)
- 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,
not distribute. setuptools and distribute are now merged into one project
called 'setuptools'. (#1003)
@@ -1169,7 +1169,7 @@ Improved Documentation
instead. (#82)
- Only warn about version conflicts if there is actually one. This re-enables
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.
@@ -1304,7 +1304,7 @@ Improved Documentation
- Added global --user flag as shortcut for --install-option="--user". From
Ronny Pfannschmidt.
- 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.
- Fixed git revisions being ignored. Thanks John-Scott Atlakson. (#138)
- 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
slash-sensitive).
- 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.
- Make ``pip zip`` zip all its arguments, not just the first.
- Fix some filename issues on Windows.
diff --git a/README.rst b/README.rst
index 0d299887b..1d580ef9d 100644
--- a/README.rst
+++ b/README.rst
@@ -7,7 +7,7 @@ The `PyPA recommended`_ tool for installing Python packages.
:target: https://pypi.org/project/pip/
.. 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
: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
.. _GitHub Page: https://github.com/pypa/pip
.. _Issue Tracking: https://github.com/pypa/pip/issues
-.. _User mailing list: http://groups.google.com/group/python-virtualenv
-.. _Dev mailing list: http://groups.google.com/group/pypa-dev
+.. _User mailing list: https://groups.google.com/forum/#!forum/python-virtualenv
+.. _Dev mailing list: https://groups.google.com/forum/#!forum/pypa-dev
.. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/
diff --git a/docs/index.rst b/docs/index.rst
index d2bc7e104..caf0725a6 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -1,8 +1,8 @@
pip
===
-`User list <http://groups.google.com/group/python-virtualenv>`_ |
-`Dev list <http://groups.google.com/group/pypa-dev>`_ |
+`User list <https://groups.google.com/forum/#!forum/python-virtualenv>`_ |
+`Dev list <https://groups.google.com/forum/#!forum/pypa-dev>`_ |
`GitHub <https://github.com/pypa/pip>`_ |
`PyPI <https://pypi.org/project/pip/>`_ |
User IRC: #pypa |
diff --git a/docs/reference/pip.rst b/docs/reference/pip.rst
index 306925f76..865c64b01 100644
--- a/docs/reference/pip.rst
+++ b/docs/reference/pip.rst
@@ -157,8 +157,8 @@ appropriately.
* ``pip<18.0`` does not support the use of environment markers and extras, only
version specifiers are respected.
-.. _PEP517: http://www.python.org/dev/peps/pep-0517/
-.. _PEP518: http://www.python.org/dev/peps/pep-0518/
+.. _PEP517: https://www.python.org/dev/peps/pep-0517/
+.. _PEP518: https://www.python.org/dev/peps/pep-0518/
Future Developments
~~~~~~~~~~~~~~~~~~~
@@ -173,7 +173,7 @@ have migrated.
Specifically, applications should *not* expect to rely on there being any form
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
~~~~~~~~~~~~~
diff --git a/docs/reference/pip_install.rst b/docs/reference/pip_install.rst
index 1eef792df..6d38f30a9 100644
--- a/docs/reference/pip_install.rst
+++ b/docs/reference/pip_install.rst
@@ -476,7 +476,7 @@ Finding Packages
pip searches for packages on `PyPI`_ using the
`http simple interface <https://pypi.org/simple/>`_,
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.
@@ -882,5 +882,5 @@ Examples
.. [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.
-.. _PEP440: http://www.python.org/dev/peps/pep-0440
-.. _PEP508: http://www.python.org/dev/peps/pep-0508
+.. _PEP440: https://www.python.org/dev/peps/pep-0440/
+.. _PEP508: https://www.python.org/dev/peps/pep-0508/
diff --git a/docs/user_guide.rst b/docs/user_guide.rst
index 2507cc496..ba7ecb880 100644
--- a/docs/user_guide.rst
+++ b/docs/user_guide.rst
@@ -177,8 +177,8 @@ Installing from Wheels
"Wheel" is a built, archive format that can greatly speed installation compared
to building and installing from source archives. For more information, see the
`Wheel docs <https://wheel.readthedocs.io>`_ ,
-`PEP427 <http://www.python.org/dev/peps/pep-0427>`_, and
-`PEP425 <http://www.python.org/dev/peps/pep-0425>`_
+`PEP427 <https://www.python.org/dev/peps/pep-0427/>`_, and
+`PEP425 <https://www.python.org/dev/peps/pep-0425/>`_
Pip prefers Wheels where they are available. To disable this, use the
:ref:`--no-binary <install_--no-binary>` flag for :ref:`pip install`.
@@ -355,7 +355,7 @@ look like this:
[global]
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
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
-<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
location that is specific to a user. The default location for each OS is
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
<install_--user>` option to ``pip install``.
diff --git a/news/951c2359-ff29-4ed8-ba91-2e82dff5e5ad.trivial b/news/951c2359-ff29-4ed8-ba91-2e82dff5e5ad.trivial
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/news/951c2359-ff29-4ed8-ba91-2e82dff5e5ad.trivial
diff --git a/src/pip/_internal/compat.py b/src/pip/_internal/compat.py
index 4aefd58cd..749115075 100644
--- a/src/pip/_internal/compat.py
+++ b/src/pip/_internal/compat.py
@@ -164,7 +164,7 @@ def expanduser(path):
"""
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)
if path.startswith('~/') and expanded.startswith('//'):
diff --git a/src/pip/_internal/vcs/git.py b/src/pip/_internal/vcs/git.py
index 99f9a1700..7ef82d8ac 100644
--- a/src/pip/_internal/vcs/git.py
+++ b/src/pip/_internal/vcs/git.py
@@ -43,7 +43,7 @@ class Git(VersionControl):
def __init__(self, url=None, *args, **kwargs):
# 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:
scheme, netloc, path, query, fragment = urlsplit(url)
if scheme.endswith('file'):
diff --git a/tests/data/src/sample/setup.py b/tests/data/src/sample/setup.py
index 73172bedc..d5a6e1b53 100644
--- a/tests/data/src/sample/setup.py
+++ b/tests/data/src/sample/setup.py
@@ -88,7 +88,7 @@ setup(
# Although 'package_data' is the preferred approach, in some case you may
# 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'
data_files=[('my_data', ['data/data_file'])],
diff --git a/tests/functional/test_install_config.py b/tests/functional/test_install_config.py
index e5c5c633a..bf2516685 100644
--- a/tests/functional/test_install_config.py
+++ b/tests/functional/test_install_config.py
@@ -51,7 +51,7 @@ def test_env_vars_override_config_file(script, virtualenv):
_test_env_vars_override_config_file(script, virtualenv, config_file)
finally:
# `os.close` is a workaround for a bug in subprocess
- # http://bugs.python.org/issue3210
+ # https://bugs.python.org/issue3210
os.close(fd)
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)
finally:
# `os.close` is a workaround for a bug in subprocess
- # http://bugs.python.org/issue3210
+ # https://bugs.python.org/issue3210
os.close(fd)
os.remove(config_file)
diff --git a/tests/unit/test_appdirs.py b/tests/unit/test_appdirs.py
index a306d56cf..d0541eac5 100644
--- a/tests/unit/test_appdirs.py
+++ b/tests/unit/test_appdirs.py
@@ -57,7 +57,7 @@ class TestUserCacheDir:
def test_user_cache_dir_linux_home_slash(self, monkeypatch):
monkeypatch.setattr(appdirs, "WINDOWS", False)
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.setenv("HOME", "/")
monkeypatch.setattr(sys, "platform", "linux2")
@@ -212,7 +212,7 @@ class TestUserDataDir:
def test_user_data_dir_linux_home_slash(self, monkeypatch):
monkeypatch.setattr(appdirs, "WINDOWS", False)
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.setenv("HOME", "/")
monkeypatch.setattr(sys, "platform", "linux2")
@@ -294,7 +294,7 @@ class TestUserConfigDir:
def test_user_config_dir_linux_home_slash(self, monkeypatch):
monkeypatch.setattr(appdirs, "WINDOWS", False)
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.setenv("HOME", "/")
monkeypatch.setattr(sys, "platform", "linux2")
diff --git a/tests/unit/test_compat.py b/tests/unit/test_compat.py
index 37af0f950..aed5e5919 100644
--- a/tests/unit/test_compat.py
+++ b/tests/unit/test_compat.py
@@ -78,7 +78,7 @@ def test_to_native_str_type():
@pytest.mark.parametrize("home,path,expanded", [
("/Users/test", "~", "/Users/test"),
("/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"),
])