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 for 3.13.0a3 #76

Merged
merged 2 commits into from
Jan 28, 2024
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
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,17 @@ easier:
Regenerating
------------

Add or update the list of releases and download URLs in `stdlibs/fetch.py`, then
execute the `stdlibs.fetch` module:
If there might have been new release tarballs, first execute
`stdlibs.fetch_releases` which will update `stdlibs/releases.toml`.

Then execute `stdlibs.fetch` which will download all those release tarballs, and
create/update the appropriate `stdlibs/py*.py` files with the changes. A fresh
run takes about two minutes, but is much faster on subsequent runs.

```shell-session
$ make distclean virtualenv
$ source .venv/bin/activate
(.venv) $ python -m stdlibs.fetch_releases
(.venv) $ python -m stdlibs.fetch
```

Expand Down
2 changes: 2 additions & 0 deletions stdlibs/py.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
"_strptime",
"_struct",
"_subprocess",
"_suggestions",
"_symtable",
"_sysconfig",
"_testbuffer",
Expand All @@ -225,6 +226,7 @@
"_winapi",
"_winreg",
"_xxinterpchannels",
"_xxinterpqueues",
"_xxsubinterpreters",
"_xxtestfuzz",
"_zoneinfo",
Expand Down
2 changes: 2 additions & 0 deletions stdlibs/py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
"_strptime",
"_struct",
"_subprocess",
"_suggestions",
"_symtable",
"_sysconfig",
"_testbuffer",
Expand All @@ -132,6 +133,7 @@
"_weakrefset",
"_winapi",
"_xxinterpchannels",
"_xxinterpqueues",
"_xxsubinterpreters",
"_xxtestfuzz",
"_zoneinfo",
Expand Down
2 changes: 2 additions & 0 deletions stdlibs/py313.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"_string",
"_strptime",
"_struct",
"_suggestions",
"_symtable",
"_sysconfig",
"_testbuffer",
Expand All @@ -110,6 +111,7 @@
"_weakrefset",
"_winapi",
"_xxinterpchannels",
"_xxinterpqueues",
"_xxsubinterpreters",
"_xxtestfuzz",
"_zoneinfo",
Expand Down
2 changes: 1 addition & 1 deletion stdlibs/releases.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
"3.10" = "https://www.python.org/ftp/python/3.10.13/Python-3.10.13.tgz"
"3.11" = "https://www.python.org/ftp/python/3.11.7/Python-3.11.7.tgz"
"3.12" = "https://www.python.org/ftp/python/3.12.1/Python-3.12.1.tgz"
"3.13" = "https://www.python.org/ftp/python/3.13.0/Python-3.13.0a2.tgz"
"3.13" = "https://www.python.org/ftp/python/3.13.0/Python-3.13.0a3.tgz"