Skip to content

Commit

Permalink
gh-36802: Python toolchain as wheel packages
Browse files Browse the repository at this point in the history
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes #1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->

We switch several pure Python packages that are part of
`PYTHON_TOOLCHAIN` from normal to wheel packages.

The only time that we carried a patch for any of these packages was in
2014–2016, a patch for pyparsing.

This reduces the complexity of our SPKGs, in line with previous PRs
#36267, #36429, #36129, #36794.



<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes #12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- #12345: short description why this is a dependency
- #34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: #36802
Reported by: Matthias Köppe
Reviewer(s): Dima Pasechnik
  • Loading branch information
Release Manager committed Dec 12, 2023
2 parents 990525b + 3be8263 commit 27a07da
Show file tree
Hide file tree
Showing 18 changed files with 42 additions and 45 deletions.
10 changes: 5 additions & 5 deletions build/pkgs/flit_core/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=flit_core-VERSION.tar.gz
sha1=05d6d7a3df5bdbd9df1b37a65662e5dbe94f23fd
md5=3bc52f1952b9a78361114147da63c35b
cksum=1703912415
upstream_url=https://pypi.io/packages/source/f/flit_core/flit_core-VERSION.tar.gz
tarball=flit_core-VERSION-py3-none-any.whl
sha1=cf044db53e986d0735ad708cce9eba0b71684168
md5=c817750ae741d8f720b173a30f7b2085
cksum=1810686358
upstream_url=https://pypi.io/packages/py3/f/flit_core/flit_core-VERSION-py3-none-any.whl
3 changes: 0 additions & 3 deletions build/pkgs/flit_core/spkg-install.in

This file was deleted.

9 changes: 9 additions & 0 deletions build/pkgs/packaging/SPKG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,12 @@ Description
-----------

Core utilities for Python packages

License
-------

Upstream Contact
----------------

https://pypi.org/project/packaging/

10 changes: 5 additions & 5 deletions build/pkgs/packaging/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=packaging-VERSION.tar.gz
sha1=603cbd6e3416f1f4b6c0f924216f96fe67d9f6da
md5=d54eeff8c7ca86980528f4132f258d54
cksum=307392791
upstream_url=https://pypi.io/packages/source/p/packaging/packaging-VERSION.tar.gz
tarball=packaging-VERSION-py3-none-any.whl
sha1=d3fb436d835b252ea884a5d172d7265220127f95
md5=f6e9c6af858bd34eff07b407d3f650a1
cksum=3531019080
upstream_url=https://pypi.io/packages/py3/p/packaging/packaging-VERSION-py3-none-any.whl
2 changes: 1 addition & 1 deletion build/pkgs/packaging/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| flit_core pip $(PYTHON)
| pip $(PYTHON)

----------
All lines of this file are ignored except the first.
1 change: 0 additions & 1 deletion build/pkgs/packaging/spkg-install.in

This file was deleted.

3 changes: 1 addition & 2 deletions build/pkgs/pyparsing/SPKG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ MIT License
Upstream Contact
----------------

- Author: Paul McGuire
- Home page: http://pyparsing.wikispaces.com
https://pypi.org/project/pyparsing/

10 changes: 5 additions & 5 deletions build/pkgs/pyparsing/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=pyparsing-VERSION.tar.gz
sha1=2e9cf056c36c132f15476dfdd50449d48b48f6a2
md5=bb8c8c6b8015ca5887ae2c37917ee82e
cksum=513345755
upstream_url=https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-VERSION.tar.gz
tarball=pyparsing-VERSION-py3-none-any.whl
sha1=c44cd9476ad90a48af0f27d8f7966136b2a93fc6
md5=314b4874edfbc558e02f89d371043e9f
cksum=3947575213
upstream_url=https://pypi.io/packages/py3/p/pyparsing/pyparsing-VERSION-py3-none-any.whl
2 changes: 1 addition & 1 deletion build/pkgs/pyparsing/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| pip wheel flit_core $(PYTHON)
| pip $(PYTHON)

----------
All lines of this file are ignored except the first.
3 changes: 0 additions & 3 deletions build/pkgs/pyparsing/spkg-install.in

This file was deleted.

10 changes: 5 additions & 5 deletions build/pkgs/tomli/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=tomli-VERSION.tar.gz
sha1=3eae299137c59d6d6d30be01417366c57dd1adf5
md5=d4341621d423a7ca6822e23d6d52bb9a
cksum=1285168803
upstream_url=https://pypi.io/packages/source/t/tomli/tomli-VERSION.tar.gz
tarball=tomli-VERSION-py3-none-any.whl
sha1=5bfc83c14bc54e6193a0d50a50c16a88eda0c4fa
md5=a8a774971c6d046cf1c87cd801dd158f
cksum=891457836
upstream_url=https://pypi.io/packages/py3/t/tomli/tomli-VERSION-py3-none-any.whl
2 changes: 1 addition & 1 deletion build/pkgs/tomli/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| pip flit_core $(PYTHON)
| pip $(PYTHON)

----------
All lines of this file are ignored except the first.
2 changes: 0 additions & 2 deletions build/pkgs/tomli/spkg-install.in

This file was deleted.

4 changes: 2 additions & 2 deletions build/pkgs/typing_extensions/SPKG.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
typing_extensions: Backported and Experimental Type Hints for Python 3.5+
typing_extensions: Backported and Experimental Type Hints for Python 3.8+
=========================================================================

Description
-----------

Backported and Experimental Type Hints for Python 3.5+
Backported and Experimental Type Hints for Python 3.8+

License
-------
Expand Down
10 changes: 5 additions & 5 deletions build/pkgs/typing_extensions/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=typing_extensions-VERSION.tar.gz
sha1=ef61789c91d5e9de37c5960c1e6f904e029fbba3
md5=06e7fff4b1d51f8dc6f49b16e71de54e
cksum=3833864103
upstream_url=https://pypi.io/packages/source/t/typing_extensions/typing_extensions-VERSION.tar.gz
tarball=typing_extensions-VERSION-py3-none-any.whl
sha1=84d6a73b5a5d303c9187a861d5eedd50da42e7a3
md5=9c84e613da80ced7a5e86329ec75dc6c
cksum=2951292774
upstream_url=https://pypi.io/packages/py3/t/typing_extensions/typing_extensions-VERSION-py3-none-any.whl
2 changes: 1 addition & 1 deletion build/pkgs/typing_extensions/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| flit_core $(PYTHON)
| pip $(PYTHON)

----------
All lines of this file are ignored except the first.
2 changes: 1 addition & 1 deletion build/pkgs/typing_extensions/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.7.1
4.8.0
2 changes: 0 additions & 2 deletions build/pkgs/typing_extensions/spkg-install.in

This file was deleted.

0 comments on commit 27a07da

Please sign in to comment.