Skip to content

Commit 1c3c769

Browse files
committed
Merge branch 'main' into release
2 parents 91f63ee + 69769b6 commit 1c3c769

11 files changed

+25
-17
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ updates:
1919
- dependency-name: lxml
2020
versions:
2121
- 4.6.2
22+
- package-ecosystem: github-actions
23+
directory: "/"
24+
groups:
25+
github-actions:
26+
patterns:
27+
- "*" # Group all Actions updates into a single larger pull request
28+
schedule:
29+
interval: daily

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
1717
steps:
1818
- name: Check out repository
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020
- name: Install platform dependencies
2121
run: |
2222
sudo apt -y update
@@ -29,11 +29,11 @@ jobs:
2929
run: |
3030
wget https://github.com/jgm/pandoc/releases/download/2.17.1.1/pandoc-2.17.1.1-1-amd64.deb
3131
sudo dpkg -i pandoc-2.17.1.1-1-amd64.deb
32-
- uses: actions/setup-python@v2
32+
- uses: actions/setup-python@v5
3333
with:
3434
python-version: 3.9.16
3535
- name: Cache Python dependencies
36-
uses: actions/cache@v2
36+
uses: actions/cache@v4
3737
env:
3838
cache-name: pythondotorg-cache-pip
3939
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# python.org
22

3-
[![Build Status](https://travis-ci.org/python/pythondotorg.svg?branch=main)](https://travis-ci.org/python/pythondotorg)
3+
[![CI](https://github.com/python/pythondotorg/actions/workflows/ci.yml/badge.svg)](https://github.com/python/pythondotorg/actions/workflows/ci.yml)
44
[![Documentation Status](https://readthedocs.org/projects/pythondotorg/badge/?version=latest)](https://pythondotorg.readthedocs.io/?badge=latest)
55

66
### General information

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Required for running tests
44

5-
factory-boy==3.1.0
5+
factory-boy==3.2.1
66
Faker==0.8.1
77
tblib==1.7.0
88
responses==0.13.3

docs/source/administration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Administration
66
Navigation
77
----------
88

9-
Navigation on the site is managed by the `Sitetree <https://pypi.org/pypi/django-sitetree>`_ application. The hierarchy should be fairly obvious. The biggest gotcha is when defining the URLs.
9+
Navigation on the site is managed by the `Sitetree <https://pypi.org/project/django-sitetree/>`_ application. The hierarchy should be fairly obvious. The biggest gotcha is when defining the URLs.
1010

1111
Many URLs are defined using `Django's URL system <https://docs.djangoproject.com/en/dev/topics/http/urls/>`_ however many are also simply defined as relative paths. When editing a particular item in the Sitetree in the *Additional Settings* fieldset there is an option named *URL as pattern*. If this option is checked the URL pattern is checked against the URLs defined by the Django applications. If it is left unchecked relative and absolute URLs can be entered.
1212

docs/source/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ already submitted it.
1111
Code
1212
----
1313

14-
The source for python.org is open and licensed under the `Apache 2 license <license>`_.
14+
The source for python.org is open and licensed under the `Apache 2 license <license_>`_.
1515
To contribute to either the code or documentation please fork the pythondotorg_
1616
repository and submit a pull request.
1717

docs/source/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ General information
1212
:IRC: ``#pydotorg`` on Freenode
1313
:Staging site: https://staging.python.org/ (``main`` branch)
1414
:Production configuration: https://github.com/python/psf-salt
15-
:Travis:
16-
.. image:: https://travis-ci.org/python/pythondotorg.svg?branch=main
17-
:target: https://travis-ci.org/python/pythondotorg
15+
:GitHub Actions:
16+
.. image:: https://github.com/python/pythondotorg/actions/workflows/ci.yml/badge.svg
17+
:target: https://github.com/python/pythondotorg/actions/workflows/ci.yml
1818
:License: Apache License
1919

2020
Contents:

docs/source/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Docker Compose will be installed by [Docker Mac](https://docs.docker.com/desktop
1212
Getting started
1313
---------------
1414

15-
To get the Pythondotorg source code, [fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) the repository on [GitHub](https://github.com/python/pythondotorg) and [clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) it to your local machine:
15+
To get the Pythondotorg source code, [fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) the repository on [GitHub](https://github.com/python/pythondotorg) and [clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) it to your local machine:
1616

1717
```
1818
git clone git@github.com:YOUR-USERNAME/pythondotorg.git
1919
```
2020

21-
Add a [remote](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-for-a-fork) and [sync](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork) regularly to stay current with the repository.
21+
Add a [remote](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-repository-for-a-fork) and [sync](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork) regularly to stay current with the repository.
2222

2323
```
2424
git remote add upstream https://github.com/python/pythondotorg
@@ -33,7 +33,7 @@ Installing Docker
3333
Install [Docker Engine](https://docs.docker.com/engine/install/)
3434

3535
```{note}
36-
The best experience for building Pythondotorg on Windows is to use the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/)(WSL) in combination with both [Docker for Windows](https://docs.docker.com/desktop/install/windows-install/) and [Docker for Linux](https://docs.docker.com/engine/install/).
36+
The best experience for building Pythondotorg on Windows is to use the [Windows Subsystem for Linux](https://learn.microsoft.com/en-us/windows/wsl/)(WSL) in combination with both [Docker for Windows](https://docs.docker.com/desktop/install/windows-install/) and [Docker for Linux](https://docs.docker.com/engine/install/).
3737
```
3838

3939
Verify that the Docker installation is successful by running: `docker -v`
@@ -197,7 +197,7 @@ Once you have it installed, update the URL value of `HAYSTACK_CONNECTIONS` set
197197
Generating CSS files automatically
198198
----------------------------------
199199

200-
Due to performance issues of [django-pipeline](https://github.com/cyberdelia/django-pipeline/issues/313), we are using a dummy compiler `pydotorg.compilers.DummySASSCompiler` in development mode. To generate CSS files, use `sass` itself in a separate terminal window:
200+
Due to performance issues of [django-pipeline](https://github.com/jazzband/django-pipeline/issues/313), we are using a dummy compiler `pydotorg.compilers.DummySASSCompiler` in development mode. To generate CSS files, use `sass` itself in a separate terminal window:
201201

202202
```
203203
$ cd static

docs/source/pep_generation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ This process runs periodically via cron to keep the PEP pages up to date.
3131

3232
See :ref:`management-commands` for all management commands.
3333

34-
.. _PEP Repository: https://github.com/python/peps.git
34+
.. _PEP Repository: https://github.com/python/peps

prod-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
gunicorn==19.9.0
1+
gunicorn==21.2.0
22

33
raven==6.10.0
44

templates/python/documentation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h2 class="widget-title"><span aria-hidden="true" class="icon-versions"></span>P
8181
<ul>
8282
<li><a href="https://www.python.org/doc/sunset-python-2/">FAQ: Sunsetting Python 2</a></li>
8383
<li><a href="https://www.python.org/dev/peps/pep-0373/">Final Python 2.7 Release Schedule</a></li>
84-
<li><a href="https://python3statement.org/">Python 3 Statement</a></li>
84+
<li><a href="https://python3statement.github.io/">Python 3 Statement</a></li>
8585
<li>
8686
<a href="https://docs.python.org/3/howto/pyporting.html">Porting Python 2 Code to Python 3</a>
8787
<ul>

0 commit comments

Comments
 (0)