From 292633e975f17d0179d359bdea29401e1d55179e Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Tue, 1 Jun 2021 22:31:29 -0400 Subject: [PATCH 1/4] Support code highlighting --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 272c29679f0..fefa84ea260 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: - name: Install dependencies run: | python -m pip install -U pip - python -m pip install -U docutils + python -m pip install -U docutils pygments - name: Build run: make -j$(nproc) From a5e21373f43717ff7beb8d21036d1eb4c58594ce Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Fri, 18 Jun 2021 21:47:28 -0400 Subject: [PATCH 2/4] address --- .github/workflows/build.yml | 2 +- requirements.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fefa84ea260..c793468fbe0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: - name: Install dependencies run: | python -m pip install -U pip - python -m pip install -U docutils pygments + python -m pip install -r requirements.txt - name: Build run: make -j$(nproc) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000000..19fa3a2d5b5 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +docutils==0.17.1 +Pygments==2.9.0 From 33037b5e689849110c0ad9889cca2feacf257180 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Sat, 19 Jun 2021 10:07:15 -0400 Subject: [PATCH 3/4] pin dependencies to latest minor release --- requirements.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8b50e40eda0..08cba3497de 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # Requirements for building PEPs with Sphinx -sphinx >= 3.5 -docutils >= 0.16 -Pygments >= 2.9.0 +Pygments ~= 2.9.0 +Sphinx ~= 4.0.2 +docutils ~= 0.17.1 # For RSS -feedgen >= 0.9.0 # For RSS feed +feedgen ~= 0.9.0 # For RSS feed From f64924b78a926293b83b483b52f03f757f086408 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Sat, 19 Jun 2021 17:24:11 -0400 Subject: [PATCH 4/4] just set minimum dependency versions --- requirements.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 08cba3497de..6f79491b0d2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # Requirements for building PEPs with Sphinx -Pygments ~= 2.9.0 -Sphinx ~= 4.0.2 -docutils ~= 0.17.1 +Pygments >= 2.9.0 +Sphinx >= 4.0.2 +docutils >= 0.17.1 # For RSS -feedgen ~= 0.9.0 # For RSS feed +feedgen >= 0.9.0 # For RSS feed