Skip to content

Commit eeb138a

Browse files
committed
Start collecting data for next EOL Python 3.10
1 parent 6f59781 commit eeb138a

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ wget https://endoflife.date/api/python.json -O python-eol.json
2323
export OPENSSL_CONF=/dev/null
2424

2525
# Generate the files
26-
python3 generate.py --version 2.{0,1,2,3,4,5,6,7} 3.{0,1,2,3,4,5,6,7,8,9}
26+
python3 generate.py --version 2.{0,1,2,3,4,5,6,7} 3.{0,1,2,3,4,5,6,7,8,9,10}
2727

2828
# Create index.html files from the template
29-
python3 template.py --version 2.{0,1,2,3,4,5,6,7} 3.{0,1,2,3,4,5,6,7,8,9}
29+
python3 template.py --version 2.{0,1,2,3,4,5,6,7} 3.{0,1,2,3,4,5,6,7,8,9,10}
3030

3131
# Make output directory, don't fail if it exists
3232
mkdir -p build
3333

3434
# Copy to output directory
35-
cp -R {2.{0,1,2,3,4,5,6,7},3.{0,1,2,3,4,5,6,7,8,9},all.html,index.html,results.json,style.css,wheel.css} build
35+
cp -R {2.{0,1,2,3,4,5,6,7},3.{0,1,2,3,4,5,6,7,8,9,10},all.html,index.html,results.json,style.css,wheel.css} build
3636

3737
# Remove templated index.html files
38-
rm {2.{0,1,2,3,4,5,6,7},3.{0,1,2,3,4,5,6,7,8,9}}/index.html
38+
rm {2.{0,1,2,3,4,5,6,7},3.{0,1,2,3,4,5,6,7,8,9,10}}/index.html

template.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@
111111
<li><a href="https://docs.python.org/3/whatsnew/3.9.html">And more!</a></li>
112112
""" # noqa: E501
113113
},
114+
"3.10": {
115+
"reasons": """
116+
<li><a href="https://github.com/jugmac00/python-version-cheat-sheet#python-311"><code>tomllib</code> in the stdlib, exception groups and except*</a></li>
117+
<li><a href="https://docs.python.org/3/whatsnew/3.10.html">And more!</a></li>
118+
""" # noqa: E501
119+
},
114120
}
115121

116122
REASONS = """

0 commit comments

Comments
 (0)