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

The license_file parameter is deprecated, use license_files instead. #53

Closed
josch opened this issue Apr 19, 2024 · 3 comments
Closed

The license_file parameter is deprecated, use license_files instead. #53

josch opened this issue Apr 19, 2024 · 3 comments

Comments

@josch
Copy link
Contributor

josch commented Apr 19, 2024

Hi,

I'm currently packaging autotiling for Debian and I saw this in my build log:

I: pybuild base:311: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!

        ********************************************************************************
        The license_file parameter is deprecated, use license_files instead.

        This deprecation is overdue, please update your project and remove deprecated
        calls to avoid build errors in the future.

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  parsed = self.parsers.get(option_name, lambda x: x)(value)
@nwg-piotr
Copy link
Owner

Should it look like this?

license_files =
    LICENSE

@josch
Copy link
Contributor Author

josch commented Apr 20, 2024

I cannot provide more input than I have given. This is not a topic that I'm an expert in. If the deprecation notice doesn't make sense, please close this issue and sorry for the noise.

@nwg-piotr
Copy link
Owner

It probably makes sense, but I'm not an expert as well. I'll need to test it.

nwg-piotr added a commit that referenced this issue Apr 26, 2024
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

2 participants