Commit Graph

5 Commits (dad28e8b4a1436b09a2ae7e0a8cc12a4490f495c)

Author SHA1 Message Date
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) d481a035c3 Keep comatibility with `setuptools` tagging wheels with `py2.py3`
Modern versions of `setuptools` emit a warning when the `universal = 1` option of `bdist_wheel` is used. This warning will turn into an error on Aug 30, 2025.

The only function of `universal = 1` is assigning the dual `py2.py3` tag to the wheels. It does not perform any content or metadata compatibility validation that might be related to this.

It is possible to keep producing same-tagged wheels by setting the non-deprecated `python_tag` option instead, which is what this PR does.

Fixes #1283

Ref https://github.com/pypa/setuptools/pull/4939
6 months ago
Alex Willmer f0ffd1616c Declare universal wheel support
This mean the package is single source compatible with Python 2.x and
3.x. There is no need to build separate wheels.
5 years ago
David Wilson dd48c41332 Ignore another annoying flake8 message. 8 years ago
Alex Willmer dc60f05a40 tests: Switch to unit2 test runner, with coverage
This means test files are imported as modules, not run as scripts. THey
can still be run individually if so desired. Test coverage is measured,
and an html report generated in htmlcov/. Test cases are automativally
discovered, so they need not be listed twice. An overall
passed/failed/skipped summary is printed, rather than for each file.

Arguments passed to ./test are passed on to unit2. For instance

    ./test -v

will print each test name as it is run.
8 years ago
David Wilson e84c33de59 Initial flake8 configuration. 8 years ago