Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update URLs in documentation: http:// → https:// #4113

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
),
dict(
pattern=r'Old Setuptools #(?P<old_setuptools>\d+)',
url='http://bugs.python.org/setuptools/issue{old_setuptools}',
url='https://bugs.python.org/setuptools/issue{old_setuptools}',
Copy link
Contributor Author

@DimitriPapadopoulos DimitriPapadopoulos Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't been able to find examples of http://bugs.python.org/setuptools/issue... URLs out there.

Plain http://bugs.python.org/setuptools/ gives a 404.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

O.o that is unfortunate... It seems that we are missing the history of the development.
We also had a problem with the issues and PRs in bitbucket, I believe we can no longer reach that...

I opened python/bugs.python.org#67 to enquire about that...

),
dict(
pattern=r'Jython #(?P<jython>\d+)',
url='http://bugs.jython.org/issue{jython}',
url='https://bugs.jython.org/issue{jython}',
),
dict(
pattern=r'(Python #|bpo-)(?P<python>\d+)',
url='http://bugs.python.org/issue{python}',
url='https://bugs.python.org/issue{python}',
),
dict(
pattern=r'Interop #(?P<interop>\d+)',
Expand Down
2 changes: 1 addition & 1 deletion docs/development/developer-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/

---------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <http://pypi.org>`_.
with :pypi:`pip` and uploaded to `PyPI <https://pypi.org>`_.

.. sidebar-links::
:home:
Expand Down
2 changes: 1 addition & 1 deletion docs/pkg_resources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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


.. -----------------
Expand Down
2 changes: 1 addition & 1 deletion setuptools/monkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion setuptools/tests/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion setuptools/tests/test_editable_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion setuptools/windows_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down
Loading