diff options
author | Tim Orling <ticotimo@gmail.com> | 2023-03-15 18:03:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-17 17:17:42 +0000 |
commit | 033d1edc423b97c644fb669ed0b73923182310ee (patch) | |
tree | 314ccf2594eb2845241ff76cfe0d364620c6f29b | |
parent | 4f09a93611134351381415d69228317d8a779014 (diff) | |
download | poky-033d1edc423b97c644fb669ed0b73923182310ee.tar.gz |
python3-wheel: upgrade 0.38.4 -> 0.40.0
* Drop pyproject.toml patch, merged upstream
https://wheel.readthedocs.io/en/stable/news.html#release-notes
0.40.0 (2023-03-14)
* Added a wheel tags command to modify tags on an existing wheel (PR by
Henry Schreiner)
* Updated vendored packaging to 23.0
* wheel unpack now preserves the executable attribute of extracted files
* Fixed spaces in platform names not being converted to underscores (PR
by David Tucker)
* Fixed RECORD files in generated wheels missing the regular file attribute
* Fixed DeprecationWarning about the use of the deprecated pkg_resources
API (PR by Thomas Grainger)
* Wheel now uses flit-core as a build backend (PR by Henry Schreiner)
License-Update: use LICENSE.txt for LIC_FILES_CHKSUM instead of PKG-INFO
(From OE-Core rev: d88ec936065f45851dd2a15bd8549c75e7746c75)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch | 100 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-wheel_0.40.0.bb (renamed from meta/recipes-devtools/python/python3-wheel_0.38.4.bb) | 6 |
2 files changed, 2 insertions, 104 deletions
diff --git a/meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch b/meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch deleted file mode 100644 index 023de0e6a8..0000000000 --- a/meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch +++ /dev/null | |||
@@ -1,100 +0,0 @@ | |||
1 | From f00dd220346773bc088d403847ee7f06f2b4c30a Mon Sep 17 00:00:00 2001 | ||
2 | From: Tim Orling <tim.orling@konsulko.com> | ||
3 | Date: Fri, 18 Feb 2022 11:09:16 -0800 | ||
4 | Subject: [PATCH] Backport pyproject.toml from flit-backend branch | ||
5 | |||
6 | This allows us to bootstrap wheels and PEP-517 packaging. | ||
7 | |||
8 | Upstream-Status: Backport from flit-backend branch | ||
9 | https://raw.githubusercontent.com/pypa/wheel/4f6ba78fede38a8d9e35a14e38377a121033afb3/pyproject.toml | ||
10 | |||
11 | Signed-off-by: Tim Orling <tim.orling@konsulko.com> | ||
12 | --- | ||
13 | pyproject.toml | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
14 | 1 file changed, 78 insertions(+) | ||
15 | create mode 100644 pyproject.toml | ||
16 | |||
17 | diff --git a/pyproject.toml b/pyproject.toml | ||
18 | new file mode 100644 | ||
19 | index 0000000..749b8de | ||
20 | --- /dev/null | ||
21 | +++ b/pyproject.toml | ||
22 | @@ -0,0 +1,78 @@ | ||
23 | +[build-system] | ||
24 | +requires = ["flit_core >=3.2,<4"] | ||
25 | +build-backend = "flit_core.buildapi" | ||
26 | + | ||
27 | +[project] | ||
28 | +name = "wheel" | ||
29 | +description = "A built-package format for Python" | ||
30 | +readme = "README.rst" | ||
31 | +classifiers = [ | ||
32 | + "Development Status :: 5 - Production/Stable", | ||
33 | + "Intended Audience :: Developers", | ||
34 | + "Topic :: System :: Archiving :: Packaging", | ||
35 | + "License :: OSI Approved :: MIT License", | ||
36 | + "Programming Language :: Python", | ||
37 | + "Programming Language :: Python :: 3 :: Only", | ||
38 | + "Programming Language :: Python :: 3.7", | ||
39 | + "Programming Language :: Python :: 3.8", | ||
40 | + "Programming Language :: Python :: 3.9", | ||
41 | + "Programming Language :: Python :: 3.10" | ||
42 | +] | ||
43 | +authors = [{name = "Daniel Holth", email = "dholth@fastmail.fm"}] | ||
44 | +maintainers = [{name = "Alex Grönholm", email = "alex.gronholm@nextday.fi"}] | ||
45 | +keywords = ["wheel", "packaging"] | ||
46 | +license = {file = "LICENSE.txt"} | ||
47 | +requires-python = ">=3.7" | ||
48 | +dependencies = [ | ||
49 | + "setuptools >= 45.2.0" | ||
50 | +] | ||
51 | +dynamic = ["version"] | ||
52 | + | ||
53 | +[project.urls] | ||
54 | +Documentation = "https://wheel.readthedocs.io/" | ||
55 | +Changelog = "https://wheel.readthedocs.io/en/stable/news.html" | ||
56 | +"Issue Tracker" = "https://github.com/pypa/wheel/issues" | ||
57 | + | ||
58 | +[project.scripts] | ||
59 | +wheel = "wheel.cli:main" | ||
60 | + | ||
61 | +[project.entry-points."distutils.commands"] | ||
62 | +bdist_wheel = "wheel.bdist_wheel:bdist_wheel" | ||
63 | + | ||
64 | +[project.optional-dependencies] | ||
65 | +test = [ | ||
66 | + "pytest >= 3.0.0" | ||
67 | +] | ||
68 | + | ||
69 | +[tool.flit.sdist] | ||
70 | +exclude = [ | ||
71 | + ".cirrus.yml", | ||
72 | + ".github/*", | ||
73 | + ".gitignore", | ||
74 | + ".pre-commit-config.yaml", | ||
75 | + ".readthedocs.yml" | ||
76 | +] | ||
77 | + | ||
78 | +[tool.black] | ||
79 | +target-version = ['py37'] | ||
80 | +extend-exclude = ''' | ||
81 | +^/src/wheel/vendored/ | ||
82 | +''' | ||
83 | + | ||
84 | +[tool.isort] | ||
85 | +src_paths = ["src"] | ||
86 | +profile = "black" | ||
87 | +skip_gitignore = true | ||
88 | + | ||
89 | +[tool.flake8] | ||
90 | +max-line-length = 88 | ||
91 | + | ||
92 | +[tool.pytest.ini_options] | ||
93 | +testpaths = "tests" | ||
94 | + | ||
95 | +[tool.coverage.run] | ||
96 | +source = ["wheel"] | ||
97 | +omit = ["*/vendored/*"] | ||
98 | + | ||
99 | +[tool.coverage.report] | ||
100 | +show_missing = true | ||
diff --git a/meta/recipes-devtools/python/python3-wheel_0.38.4.bb b/meta/recipes-devtools/python/python3-wheel_0.40.0.bb index 6263cbc45c..2b8111d544 100644 --- a/meta/recipes-devtools/python/python3-wheel_0.38.4.bb +++ b/meta/recipes-devtools/python/python3-wheel_0.40.0.bb | |||
@@ -2,14 +2,12 @@ SUMMARY = "The official binary distribution format for Python " | |||
2 | HOMEPAGE = "https://github.com/pypa/wheel" | 2 | HOMEPAGE = "https://github.com/pypa/wheel" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=10;endline=10;md5=8227180126797a0148f94f483f3e1489" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7ffb0db04527cfe380e4f2726bd05ebf" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "965f5259b566725405b05e7cf774052044b1ed30119b5d586b2703aafe8719ac" | 7 | SRC_URI[sha256sum] = "cd1196f3faee2b31968d626e1731c94f99cbdb67cf5a46e4f5656cbee7738873" |
8 | 8 | ||
9 | inherit python_flit_core pypi | 9 | inherit python_flit_core pypi |
10 | 10 | ||
11 | SRC_URI += " file://0001-Backport-pyproject.toml-from-flit-backend-branch.patch" | ||
12 | |||
13 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
14 | 12 | ||
15 | # This used to use the bootstrap install which didn't compile. Until we bump the | 13 | # This used to use the bootstrap install which didn't compile. Until we bump the |