From b9d6cb4d46d35065169a46425bb24166a8be0827 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 16 Nov 2023 20:20:44 +0100 Subject: [PATCH] =?UTF-8?q?Update=20URLs=20in=20documentation:=20http://?= =?UTF-8?q?=20=E2=86=92=20https://?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/conf.py | 6 +++--- docs/development/developer-guide.rst | 2 +- docs/index.rst | 2 +- docs/pkg_resources.rst | 2 +- setuptools/monkey.py | 2 +- setuptools/tests/environment.py | 2 +- setuptools/tests/test_editable_install.py | 2 +- setuptools/windows_support.py | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index f305029833..ba183e593b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -45,15 +45,15 @@ ), dict( pattern=r'Old Setuptools #(?P\d+)', - url='http://bugs.python.org/setuptools/issue{old_setuptools}', + url='https://bugs.python.org/setuptools/issue{old_setuptools}', ), dict( pattern=r'Jython #(?P\d+)', - url='http://bugs.jython.org/issue{jython}', + url='https://bugs.jython.org/issue{jython}', ), dict( pattern=r'(Python #|bpo-)(?P\d+)', - url='http://bugs.python.org/issue{python}', + url='https://bugs.python.org/issue{python}', ), dict( pattern=r'Interop #(?P\d+)', diff --git a/docs/development/developer-guide.rst b/docs/development/developer-guide.rst index 88ac282a87..8c9142fc30 100644 --- a/docs/development/developer-guide.rst +++ b/docs/development/developer-guide.rst @@ -109,7 +109,7 @@ To build the docs locally, use tox:: $ tox -e docs -.. _Sphinx: http://www.sphinx-doc.org/en/master/ +.. _Sphinx: https://www.sphinx-doc.org/en/master/ .. _published documentation: https://setuptools.pypa.io/en/latest/ --------------------- diff --git a/docs/index.rst b/docs/index.rst index 3e6b021648..2d4089d52b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -9,7 +9,7 @@ designed to facilitate packaging Python projects. It helps developers to easily share reusable code (in the form of a library) and programs (e.g., CLI/GUI tools implemented in Python), that can be installed -with :pypi:`pip` and uploaded to `PyPI `_. +with :pypi:`pip` and uploaded to `PyPI `_. .. sidebar-links:: :home: diff --git a/docs/pkg_resources.rst b/docs/pkg_resources.rst index d5ebffab55..e999a37e2e 100644 --- a/docs/pkg_resources.rst +++ b/docs/pkg_resources.rst @@ -108,7 +108,7 @@ eggs (For more information about these terms and concepts, see also this `architectural overview`_ of ``pkg_resources`` and Python Eggs in general.) -.. _architectural overview: http://mail.python.org/pipermail/distutils-sig/2005-June/004652.html +.. _architectural overview: https://mail.python.org/pipermail/distutils-sig/2005-June/004652.html .. ----------------- diff --git a/setuptools/monkey.py b/setuptools/monkey.py index 2ab98c178a..6c8a2f12f6 100644 --- a/setuptools/monkey.py +++ b/setuptools/monkey.py @@ -69,7 +69,7 @@ def patch_all(): has_issue_12885 = sys.version_info <= (3, 5, 3) if has_issue_12885: - # fix findall bug in distutils (http://bugs.python.org/issue12885) + # fix findall bug in distutils (https://bugs.python.org/issue12885) distutils.filelist.findall = setuptools.findall needs_warehouse = (3, 4) < sys.version_info < (3, 4, 6) or ( diff --git a/setuptools/tests/environment.py b/setuptools/tests/environment.py index 78d73fb705..df2bd37ff6 100644 --- a/setuptools/tests/environment.py +++ b/setuptools/tests/environment.py @@ -66,7 +66,7 @@ def run_setup_py(cmd, pypath=None, path=None, data_stream=0, env=None): cmd = [sys.executable, "setup.py"] + list(cmd) - # http://bugs.python.org/issue8557 + # https://bugs.python.org/issue8557 shell = sys.platform == 'win32' try: diff --git a/setuptools/tests/test_editable_install.py b/setuptools/tests/test_editable_install.py index ef71147adf..eeffcf1962 100644 --- a/setuptools/tests/test_editable_install.py +++ b/setuptools/tests/test_editable_install.py @@ -60,7 +60,7 @@ def editable_opts(request): "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers" ] - urls = {Homepage = "http://github.com"} + urls = {Homepage = "https://github.com"} dependencies = ['importlib-metadata; python_version<"3.8"'] [tool.setuptools] diff --git a/setuptools/windows_support.py b/setuptools/windows_support.py index fdadeb597c..8299ac1cdf 100644 --- a/setuptools/windows_support.py +++ b/setuptools/windows_support.py @@ -12,7 +12,7 @@ def hide_file(path): """ Set the hidden attribute on a file or directory. - From http://stackoverflow.com/questions/19622133/ + From https://stackoverflow.com/questions/19622133/ `path` must be text. """