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

fail to build plotly python pkg due to use_2to3 is invalid #4193

Closed
hubutui opened this issue May 8, 2023 · 2 comments
Closed

fail to build plotly python pkg due to use_2to3 is invalid #4193

hubutui opened this issue May 8, 2023 · 2 comments

Comments

@hubutui
Copy link

hubutui commented May 8, 2023

I failed to build plotly 5.14.1 with python 3.11, setuptools 67.7.0.
logs:

/usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!

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

        By 2023-Oct-30, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

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

!!
  parsed = self.parsers.get(option_name, lambda x: x)(value)
/usr/lib/python3.11/site-packages/setuptools/dist.py:954: DistDeprecationWarning: use_2to3 is ignored.
  ep.load()(self, ep.name, value)
error in plotly setup command: use_2to3 is invalid.

quick fix, delete this line,

alexcjohnson added a commit that referenced this issue May 19, 2023
fail to build plotly python pkg due to use_2to3 is invalid #4193
@alexcjohnson
Copy link
Collaborator

closed by #4206 - thanks @hubutui and @J815!

@J815
Copy link
Contributor

J815 commented May 20, 2023

Welcome @alexcjohnson

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

3 participants