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

Problem getting latest version (0.1.29) #143

Open
jens-peter-xxx opened this issue Sep 11, 2024 · 3 comments
Open

Problem getting latest version (0.1.29) #143

jens-peter-xxx opened this issue Sep 11, 2024 · 3 comments

Comments

@jens-peter-xxx
Copy link

Hi there,

First, I'm new to all this so excuse me if I'm doing all of this wrong :)

I've been using your great package on my mac, but I want to move my python scripts to my raspberry pi. Unfortunally, on the Pi, I'm only able to get version 0.1.25 using 'pip3 install icalevents', and adding ==0.1.29 only generates the error 'No matching distribution...'
I've looked at piwheel.org and pypi.org and both lists 0.1.29, so i'm assuming that the problem is on my Pi.
For fun, I removed the 'sort=' parameter I've been using, to see if it would compile, but then I godt the error 'TypeError: can't compare offset-naive and offset-aware datetimes' instead.

I would appriciate any ideas or pointers to what I should to.

Best,
Jens Peter

@eigenmannmartin
Copy link
Member

Hi @jens-peter-xxx
I was able to install icalevents with pip and pipx on an arm device. What distribution are you using, maybe I can reproduce this issue.

For the TypeError, can you share the offending ics? (perhaps just the one event that causes that error, anonymized of course)

@jens-peter-xxx
Copy link
Author

Hi Martin,
I have tracked the issue (with help from coworkers) to my python version being too old. Since 0.1.26 we found a requirement for 3.9, and my local version was 3.7, so ofcourse pip could not fetch the latest version. I've updated my Raspberrys python to 3.12, and now it works as expected (and, as it does on my Mac).

Thank you for your help, and for your time developing this great package!

Best,
Jens Peter

@eigenmannmartin
Copy link
Member

@jens-peter-xxx oh! right. that is an important point. Let me check if I can test the lib with different python versions.

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