diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-04-11 21:14:44 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-11 21:15:25 -0700 |
| commit | cb4cd9e3e543651735bc740810d73fd317779026 (patch) | |
| tree | a6368ee205ba7b1eeba752396c51d2dca0feb41e /meta-python/recipes-devtools/python/python3-robotframework-seriallibrary | |
| parent | c63c99ab386e2ea79179ca9dd62038dffdc7cbf6 (diff) | |
| download | meta-openembedded-cb4cd9e3e543651735bc740810d73fd317779026.tar.gz | |
python3-robotframework-seriallibrary: Switch to PEP-517 poetry build backend
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-robotframework-seriallibrary')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/0001-pyproject.toml-Replace-install_requires.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/0001-pyproject.toml-Replace-install_requires.patch b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/0001-pyproject.toml-Replace-install_requires.patch new file mode 100644 index 0000000000..b4a58ca607 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/0001-pyproject.toml-Replace-install_requires.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From 29ca728481a275cc46fdf4f32b3aac5706aa0904 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 11 Apr 2025 21:03:43 -0700 | ||
| 4 | Subject: [PATCH] pyproject.toml: Replace install_requires | ||
| 5 | |||
| 6 | install_requires is used with setuptools, with poetry it needs | ||
| 7 | to use poetry.dependencies | ||
| 8 | |||
| 9 | Fixes | ||
| 10 | poetry.core.constraints.version.exceptions.ParseConstraintError: Could not parse version constraint: robotframework | ||
| 11 | |||
| 12 | Upstream-Status: Submitted [https://github.com/whosaysni/robotframework-seriallibrary/pull/25] | ||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | pyproject.toml | 6 ++---- | ||
| 16 | 1 file changed, 2 insertions(+), 4 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/pyproject.toml b/pyproject.toml | ||
| 19 | index be9f51a..0ade7ee 100644 | ||
| 20 | --- a/pyproject.toml | ||
| 21 | +++ b/pyproject.toml | ||
| 22 | @@ -24,7 +24,5 @@ packages = [ | ||
| 23 | ] | ||
| 24 | |||
| 25 | [tool.poetry.dependencies] | ||
| 26 | -install_requires=["robotframework", "pyserial"] | ||
| 27 | - | ||
| 28 | - | ||
| 29 | - | ||
| 30 | +robotframework = ">=4.0" | ||
| 31 | +pyserial = ">=3.0" | ||
