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

python-dateutil: Compilation Fails on Debian 11 #15988

Closed
DeathCamel58 opened this issue Jun 28, 2021 · 3 comments
Closed

python-dateutil: Compilation Fails on Debian 11 #15988

DeathCamel58 opened this issue Jun 28, 2021 · 3 comments

Comments

@DeathCamel58
Copy link
Contributor

DeathCamel58 commented Jun 28, 2021

Maintainer: @commodo (find it by checking history of the package Makefile)
Environment:

No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

Description:
python-dateutil fails to compile with setuptools version 6.0.1 (which the build system uses). It looks like support was dropped for Python 2.
It also looks like the 19.07 branch buildbot failed to compile this package as well.

Did some research and found these:
Very similar setuptools error

Failing build log from buildbot

@commodo
Copy link
Contributor

commodo commented Jun 29, 2021

Maintainer: @commodo (find it by checking history of the package Makefile)
Environment:

No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

Description:
python-dateutil fails to compile with setuptools version 6.0.1 (which the build system uses). It looks like support was dropped for Python 2.
It also looks like the 19.07 branch buildbot failed to compile this package as well.

Did some research and found these:
Very similar setuptools error

Failing build log from buildbot

so, this looks like an issue on 19.07 only
will check

commodo added a commit to commodo/packages that referenced this issue Jun 29, 2021
Fixes openwrt#15988

It seems that the newer setuptools-scm package (6.0.1) has some
Python3-only syntax.
For the 19.07 release, where Python2 is still around this causes the
python-dateutil package to fail to build.

See pypa/setuptools_scm#541

However, removing 'setuptools-scm' from the build also works.
This change does that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
@commodo
Copy link
Contributor

commodo commented Jun 29, 2021

this seems to fix it #15995

@DeathCamel58
Copy link
Contributor Author

Yep, thanks!

BKPepe pushed a commit that referenced this issue Jun 30, 2021
Fixes #15988

It seems that the newer setuptools-scm package (6.0.1) has some
Python3-only syntax.
For the 19.07 release, where Python2 is still around this causes the
python-dateutil package to fail to build.

See pypa/setuptools_scm#541

However, removing 'setuptools-scm' from the build also works.
This change does that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
commodo added a commit to commodo/packages that referenced this issue Jun 30, 2021
Following:
  openwrt#16004
  openwrt#15995
  openwrt#15988

It seems that dateutil requires setuptools-scm to be installed.
As such, this is being added as a dependency.

Also, bump setuptools-scm to version 6.0.1

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
commodo added a commit to commodo/packages that referenced this issue Jul 2, 2021
Following:
  openwrt#16004
  openwrt#15995
  openwrt#15988

It seems that dateutil requires setuptools-scm to be installed.
As such, this is being added as a dependency.

Also, bump setuptools-scm to version 6.0.1

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
commodo added a commit to commodo/packages that referenced this issue Jul 2, 2021
Following:
  openwrt#16004
  openwrt#15995
  openwrt#15988

It seems that dateutil requires setuptools-scm to be installed.
As such, this is being added as a dependency.

Also, bump setuptools-scm to version 6.0.1

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit e202634)
1715173329 pushed a commit to immortalwrt/packages that referenced this issue Jul 4, 2021
Following:
  openwrt/packages#16004
  openwrt/packages#15995
  openwrt/packages#15988

It seems that dateutil requires setuptools-scm to be installed.
As such, this is being added as a dependency.

Also, bump setuptools-scm to version 6.0.1

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
breakings pushed a commit to breakings/packages that referenced this issue Mar 5, 2022
Following:
  openwrt/packages#16004
  openwrt/packages#15995
  openwrt/packages#15988

It seems that dateutil requires setuptools-scm to be installed.
As such, this is being added as a dependency.

Also, bump setuptools-scm to version 6.0.1

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit e202634)
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