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
Move metadata from setup.py / setup.cfg to pyproject.toml #1012
Comments
I will try to work on this issue. Do I need to assign myself? |
Just the comment that you're working on it is okay. |
Ok, so I'm working on this issue. |
It's better to reference the license like pip install "rpmlint[test]" or pip install -e ".[test]" Since the |
We haven't moved to |
According to the setuptools docs, the |
There's a So I don't think that packaging is a limitation in this regard anymore. |
I think that the best idea right now is to just use
We've the |
Ugh, it looks like the interface for packaging differs from Fedora/Mageia... https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_example_spec_file That'll make updating the spec file used for CI a bit of a pain. |
Alright, I'll make this change. A doubt about the tests: there's a test for installing the package or something similar that will test my change? |
No test needed for the package metadata or dependencies, that's something too basic to test and doesn't involve any code. We just need to make sure that the CI continue working and we should also update the documentation in the README.md file. I think that the best thing to do is to move all the metadata to the pyproject.toml, but keep the
|
Sure. Seems like the CI installs the majority of packages by |
Currently, the flake8 doesn't support |
migrated the metadata from setup.py to pyproject.toml following the recommendation from setuptools docs. resolve: rpm-software-management#1012
migrated the metadata from setup.py to pyproject.toml following the recommendation from setuptools docs. resolve: rpm-software-management#1012
migrated the metadata from setup.py to pyproject.toml following the recommendation from setuptools docs. resolve: rpm-software-management#1012
migrated the metadata from setup.py to pyproject.toml following the recommendation from setuptools docs. resolve: rpm-software-management#1012
migrated the metadata from setup.py to pyproject.toml following the recommendation from setuptools docs. resolve: rpm-software-management#1012
In the setuptools documentation we can read:
Right now we don't have anything special in the
setup.py
, just metadata, so it's possible to migrate all to the existingpyproject.toml
file.The text was updated successfully, but these errors were encountered: