Colin-b / pytest_httpx

pytest fixture to mock HTTPX
https://colin-b.github.io/pytest_httpx/
MIT License
344 stars 32 forks source link

Bug fix to allow multiple builds of package #147

Open EdwardBetts opened 3 months ago

EdwardBetts commented 3 months ago

The [tool.setuptools.packages.find] section in pyproject.toml was removed because it didn't affect the generated wheel, as the wheel still excluded the tests directory with this section removed.

Including [tool.setuptools.packages.find] caused issues with multiple builds of the package. This led to the creation of infinite nested build/lib/build/lib directories. By removing this section, the default behaviour now ignores 'build*' directories, preventing these problems.

For more details, refer to the related discussion on the setuptools: https://github.com/pypa/setuptools/issues/4076

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud