datasciencecampus / transport-network-performance

Measuring the performance of transport networks around urban centres
https://datasciencecampus.github.io/transport-network-performance/
MIT License
18 stars 0 forks source link

relax `numpy` version constraints #65

Open ethan-moss opened 11 months ago

ethan-moss commented 11 months ago

Description of the Feature to be Added

Relax numpy version constraint - it's a requirements for many other packages and fixing it may bring issues later on it their requirements change in an unfavourable way. It could also limit transport_performance's use by other's if they have a constraint for an older numpy version

(OPTIONAL) Suggested Implementations

Modify GTFS test suite to allow older versions of numpy to be installed. This would remove a limitation on users who can not use the latest version.

r-leyshon commented 4 weeks ago

Mystery solved. The problem stems from pytest-lazy-fixture. See this issue for an example workaround. As pytest-lazy-fixture is not actively maintained, I would suggest removing the dependency is for the best.

Removing pytest-lazy-fixture from assess_gtfs dependencies has allowed to relax version constraint on numpy, pandas and pytest, so small change for a big win.