Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test and build using PEP 517-compliant methods #147

Open
movermeyer opened this issue Oct 16, 2023 · 0 comments
Open

Test and build using PEP 517-compliant methods #147

movermeyer opened this issue Oct 16, 2023 · 0 comments

Comments

@movermeyer
Copy link
Collaborator

We shouldn't be using python setup.py sdist nor python setup.py test anymore:

$ python setup.py test
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
/home/mike/.pyenv/versions/3.12.0/lib/python3.12/site-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  ir_d = dist.fetch_build_eggs(dist.install_requires)
WARNING: The wheel package is not available.

We should be moving as much as possible into pyproject.toml.

However, this may prove tricky to do while supporting old versions of Python.

For example: At present, tox only supports Python 3.7+

So there will be discussions of how much we're willing to lose/change to stay in line with modern Python testing/packaging methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant