Skip to contentSkip to conversation

python3-pytest: Remove dependency on python3-toml

PATCH Arnout Vandecappelle 2 participants 2 messages Feb 2, 2023 – Feb 3, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · Arnout Vandecappelle via lists.openembedded.org

Since version 7.2.0 [1], pytest uses the "batteries included" tomllib module for parsing pyproject.toml configuration files [2]. It is therefore no longer necessary to have python3-toml in RDEPENDS.

Quoted 8 lines

[1] https://docs.pytest.org/en/latest/changelog.html#pytest-7-2-0-2022-10-23
[2] https://github.com/pytest-dev/pytest/pull/9741

---
This patch only applies to kirkstone and langdale branches. On master, Python 3.11 is used which no longer needs tomli at all. On dunfell, pytest is still on 5.3.5.

Meh, I copy-pasted the commit message from the kirkstone/langdale patch and
forgot to remove this bit. I assume I don't need to resend for that?

Regards,
Arnout

Quoted 27 lines
---
  meta/recipes-devtools/python/python3-pytest_7.2.0.bb | 1 -
  1 file changed, 1 deletion(-)
meta/recipes-devtools/python/python3-pytest_7.2.0.bb +0 -2
index 02fc55fdb0..c4d1c184cf 100644
@@ -26,7 +26,6 @@ RDEPENDS:${PN}:class-target += " \
      ${PYTHON_PN}-py \
      ${PYTHON_PN}-setuptools \
      ${PYTHON_PN}-six \
-    ${PYTHON_PN}-toml \
      ${PYTHON_PN}-wcwidth \
  "
 
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#176695): https://lists.openembedded.org/g/openembedded-core/message/176695
Mute This Topic: https://lists.openembedded.org/mt/96698820/3616703
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 9 lines · Arnout Vandecappelle
Quoted 7 lines · Arnout Vandecappelle via lists.openembedded.org

Since version 7.2.0 [1], pytest uses the "batteries included" tomllib module for parsing pyproject.toml configuration files [2]. It is therefore no longer necessary to have python3-toml in RDEPENDS.

[1] https://docs.pytest.org/en/latest/changelog.html#pytest-7-2-0-2022-10-23
[2] https://github.com/pytest-dev/pytest/pull/9741

Quoted 8 lines
Quoted 5 lines

---
This patch only applies to kirkstone and langdale branches. On master, Python 3.11 is used which no longer needs tomli at all. On dunfell, pytest is still on 5.3.5.

Meh, I copy-pasted the commit message from the kirkstone/langdale patch and
forgot to remove this bit. I assume I don't need to resend for that?

Correct, that won't make it into the applied commit.

Cheers,

Richard