Closed akx closed 6 months ago
Hey @ofek, if you have time to take a peek – I think I'm getting something hopelessly wrong with the src layout stuff if python -m build .
is complaining
* Creating venv isolated environment...
* Installing packages in isolated environment... (hatchling)
* Getting build dependencies for sdist...
* Building sdist...
* Building wheel from sdist
* Creating venv isolated environment...
* Installing packages in isolated environment... (hatchling)
* Getting build dependencies for wheel...
* Building wheel...
OSError: Error getting the version from source `regex`: file does not exist: src/paho/mqtt/__init__.py
I kinda understand that since the src/
directory isn't there in the sdist anymore, but I think I'm Doing It Wrong here 😁
Thanks @ofek ❤️
Happy to help! Thanks for using your free time to update projects 😄
@PierreF Rebased, ready for review.
Thank for this work. Also thank @cclauss and @semuadmin for the other PR on the same subject.
This is a reimplementation of #712 and #719.
The packages generated are practically similar – this actually uncovered that
tests/testsupport
wasn't being correctly packaged into thesdist
before, so tests probably couldn't run with that package.