-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
bug: ModuleNotFoundError: No module named 'recurring_ical_events' #214
Comments
Uh. I restructured the package from a file to a directory. Maybe, is it not included in the build file? Would you like to have a look? It could need adding to the manifest file. |
|
#212 seems to be the relevant pull request It's interesting for me too, I have different structure in all my packages and would like to go for the "best current practice" on this field. Unfortunately I don't have more time to look into this today. (but anyway @niccokunzmann is way faster than me) :-) |
I just 'yanked' release 3.5.0 as it does not contain the source files. I think, it is time to transition to the new pyproject.toml format. I will create a new release with that then. I use that in my other projects. |
With #215, I should have a fix. (.venv) /tmp$ virtualenv .venv
created virtual environment CPython3.11.6.final.0-64 in 231ms
creator CPython3Posix(dest=/tmp/.venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy,
added seed packages: pip==24.3.1, setuptools==75.8.0, wheel==0.45.1
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
(.venv) /tmp$ . .venv/bin/activate
(.venv) /tmp$ pip install ~/recurring-ical-events/dist/recurring_ical_events-3.5.1
recurring_ical_events-3.5.1-py3-none-any.whl
recurring_ical_events-3.5.1.tar.gz
(.venv) /tmp$ pip install ~/recurring-ical-events/dist/recurring_ical_events-3.5.1-py3-none-any.whl
Processing ~/recurring-ical-events/dist/recurring_ical_events-3.5.1-py3-none-any.whl
Collecting icalendar<7.0.0,>=6.1.0 (from recurring-ical-events==3.5.1)
Using cached icalendar-6.1.1-py3-none-any.whl.metadata (10 kB)
Collecting python-dateutil<3.0.0,>=2.8.1 (from recurring-ical-events==3.5.1)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting tzdata (from recurring-ical-events==3.5.1)
Using cached tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting x-wr-timezone<3.0.0,>=1.0.0 (from recurring-ical-events==3.5.1)
Using cached x_wr_timezone-2.0.1-py3-none-any.whl.metadata (10 kB)
Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.8.1->recurring-ical-events==3.5.1)
Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting click (from x-wr-timezone<3.0.0,>=1.0.0->recurring-ical-events==3.5.1)
Using cached click-8.1.8-py3-none-any.whl.metadata (2.3 kB)
Using cached icalendar-6.1.1-py3-none-any.whl (200 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached x_wr_timezone-2.0.1-py3-none-any.whl (11 kB)
Using cached tzdata-2025.1-py2.py3-none-any.whl (346 kB)
Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
Using cached click-8.1.8-py3-none-any.whl (98 kB)
Installing collected packages: tzdata, six, click, python-dateutil, icalendar, x-wr-timezone, recurring-ical-events
Successfully installed click-8.1.8 icalendar-6.1.1 python-dateutil-2.9.0.post0 recurring-ical-events-3.5.1 six-1.17.0 tzdata-2025.1 x-wr-timezone-2.0.1
[notice] A new release of pip is available: 24.3.1 -> 25.0.1
[notice] To update, run: pip install --upgrade pip
(.venv) /tmp$ python
Python 3.11.6 (main, Oct 23 2023, 13:38:18) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import recurring_ical_events I will release this now. |
v3.5.1 has been released to PyPI. Could you check if it closes the issue for you? |
And we got source files :-) thanks for the quick fix! |
Describe the bug
Probably a packaging error? Importing the module in a plain venv doesn't work.
To Reproduce
Version:
3.5.0
Additional context
I discovered the bug when working with the
python-caldav
project, more details here: python-caldav/caldav#329The text was updated successfully, but these errors were encountered: