-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
- partridge version: 1.1.1
- Python version: 3.10
- Operating System: macOS Ventura 13.4
Description
I was trying to use partridge, first from peartree, then directly, in a mamba/conda environment with numpy 1.25.
I ran into the same issue documented by another peartree user here:
The code available on pip still uses np.unicode in gtfs.py, which was deprecated in numpy 1.20 and removed in numpy 1.24.
I was able to fix this for myself by replacing the pip version of partridge with the repository version because the repository version appears to have already fixed this bug.
So you could make many people's life a tiny bit easier by releasing the bug-fixed version on pip :)
What I Did
file = "my_awesome_gtfs_data.zip"
ptg.read_busiest_date(file)
Traceback: See https://github.com/kuanb/peartree/issues/178 (my trace was the same in all important respects)
HelloJowet
Metadata
Metadata
Assignees
Labels
No labels