Skip to content

Commit c7bf73f

Browse files
authored
docs: update outdated requirements and reference links (#1239)
- aligned docs Python requirement with package metadata (`CPython >= 3.9`) - updated outdated DB-API/MySQL/Python links to current HTTPS URLs - updated Sphinx intersphinx mapping to `https://docs.python.org/3`
1 parent c532b8d commit c7bf73f

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,4 @@
273273

274274

275275
# Example configuration for intersphinx: refer to the Python standard library.
276-
intersphinx_mapping = {"http://docs.python.org/": None}
276+
intersphinx_mapping = {"https://docs.python.org/3": None}

docs/source/modules/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ If you are looking for information on a specific function, class or
55
method, this part of the documentation is for you.
66

77
For more information, please read the `Python Database API specification
8-
<https://www.python.org/dev/peps/pep-0249>`_.
8+
<https://peps.python.org/pep-0249/>`_.
99

1010
.. toctree::
1111
:maxdepth: 2

docs/source/user/installation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ Requirements
1818

1919
* Python -- one of the following:
2020

21-
- CPython_ >= 3.7
21+
- CPython_ >= 3.9
2222
- Latest PyPy_ 3
2323

2424
* MySQL Server -- one of the following:
2525

2626
- MySQL_ >= 5.7
2727
- MariaDB_ >= 10.3
2828

29-
.. _CPython: http://www.python.org/
30-
.. _PyPy: http://pypy.org/
31-
.. _MySQL: http://www.mysql.com/
29+
.. _CPython: https://www.python.org/
30+
.. _PyPy: https://pypy.org/
31+
.. _MySQL: https://www.mysql.com/
3232
.. _MariaDB: https://mariadb.org/

docs/source/user/resources.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
Resources
55
============
66

7-
DB-API 2.0: http://www.python.org/dev/peps/pep-0249
7+
DB-API 2.0: https://peps.python.org/pep-0249/
88

9-
MySQL Reference Manuals: http://dev.mysql.com/doc/
9+
MySQL Reference Manuals: https://dev.mysql.com/doc/
1010

1111
MySQL client/server protocol:
12-
http://dev.mysql.com/doc/internals/en/client-server-protocol.html
12+
https://dev.mysql.com/doc/dev/mysql-server/latest/PAGE_PROTOCOL.html
1313

1414
PyMySQL mailing list: https://groups.google.com/forum/#!forum/pymysql-users

0 commit comments

Comments
 (0)