From 0cd9f0f203d154d0e037fdda6921d0fc4053d8ef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 08:49:51 +0100 Subject: [PATCH 1/2] Bump flake8 from 6.1.0 to 7.0.0 (#372) Bumps [flake8](https://github.com/pycqa/flake8) from 6.1.0 to 7.0.0. - [Commits](https://github.com/pycqa/flake8/compare/6.1.0...7.0.0) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/testing.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/testing.txt b/requirements/testing.txt index 420d2297..9df24c9d 100644 --- a/requirements/testing.txt +++ b/requirements/testing.txt @@ -1,7 +1,7 @@ -r production.txt isort==5.13.2 coveralls==3.3.1 -flake8==6.1.0 +flake8==7.0.0 flake8-isort==6.1.1 pydocstyle==6.3.0 pylint==3.0.3 From eabece33b3b58250f44298b1862c687ef7964b87 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Mon, 8 Jan 2024 08:50:34 +0100 Subject: [PATCH 2/2] Update setup.py, exclude 'test' (#370) Otherwise: ``` * Messages for package dev-python/pyvlx-0.2.21: * The following unexpected files/directories were found top-level * in the site-packages directory: * * /usr/lib/python3.11/site-packages/test * * This is most likely a bug in the build system. More information * can be found in the Python Guide: * https://projects.gentoo.org/python/guide/qawarn.html#stray-top-level-files-in-site-packages * ERROR: dev-python/pyvlx-0.2.21::HomeAssistantRepository failed (install phase): * Failing install because of stray top-level files in site-packages ``` --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0726662d..3b9db4ff 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ def get_long_description() -> str: "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ], - packages=find_packages(), + packages=find_packages(exclude=['test*']), package_data={ "pyvlx": ["py.typed"], },