collective / icalendar

icalendar parser library for Python

Home Page:https://icalendar.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] icalendar installs backports.zoneinfo according to dependabot

niccokunzmann opened this issue · comments

Describe the bug

dependabot adds the backports.zoneinfo library to the dependencies.
See

This should be added if needed and only if we are on Python 3.8 and 3.7.

To Reproduce

requirements.txt

backports-zoneinfo==0.2.1
    # via icalendar

Expected behavior

No installation of backports.zoneinfo or a scoped one.

Environment

  • Python version: Python 3.10 makes problems. see
  • icalendar version: 5.0.4
 Building wheels for collected packages: backports-zoneinfo
  Building wheel for backports-zoneinfo (pyproject.toml): started
  Building wheel for backports-zoneinfo (pyproject.toml): finished with status 'error'
Failed to build backports-zoneinfo
py: exit 1 (8.22 seconds) /home/runner/work/open-web-calendar/open-web-calendar> python -I -m pip install -r /home/runner/work/open-web-calendar/open-web-calendar/requirements.txt -r /home/runner/work/open-web-calendar/open-web-calendar/test-requirements.txt pid=1740
  py: FAIL code 1 (8.65 seconds)
  evaluation failed :( (9.38 seconds)

Error: Process completed with exit code 1.

Additional context

  • I tested it with the latest version pip3 install https://github.com/collective/icalendar.git
  • I attached the ICS source file or there is no ICS source file

When I have a look, the setup.py does it alright:

'backports.zoneinfo; python_version == "3.7" or python_version == "3.8"',

I created a community discussion. I seems the problem is with @dependabot at the moment. https://github.com/orgs/community/discussions/44035

I will close this as this can be tracked in the discussion. There was not problem since the issue was raised.