openneuropet / PET2BIDS

PET2BIDS helps you convert your PET data into BIDS! raw PET scanner files (e.g. ecat, dicom) and additional side files like .e.g excel sheets -- paper @JOSS https://doi.org/10.21105/joss.06067
https://pet2bids.readthedocs.io
MIT License
26 stars 20 forks source link

pypet2bids limits pytest verison #239

Closed dlevitas closed 11 months ago

dlevitas commented 11 months ago

Hi @bendhouseart,

I'm trying to package the most recent version of pytest (7.4.3) with the ezBIDS Dockerfile, but I'm seeing this error message: ERROR: pypet2bids 1.2.8 has requirement pytest<7.0.0,>=6.2.5, but you'll have pytest 7.4.3 which is incompatible.

I'm happy to specify a compatible pyttest version in my Dockerfile, but I was wondering whether it's too much trouble to allow more recent pytest versions. Particularly given that the most recent compatible version would be 6.2.5, released back in 2021.

Thanks

bendhouseart commented 11 months ago

Hi @dlevitas, don't mind what poetry auto generated, I'll bump it up to 8 shortly.

bendhouseart commented 11 months ago

Haha, immediately broke something after updating pytest to <= 8.0.0 and running poetry lock, fixing now by adding in unnecessarily pruned dependencies.

bendhouseart commented 11 months ago

@dlevitas bumped and closed, please re-open issue if it gives you trouble.

dlevitas commented 11 months ago

thanks @bendhouseart I tried again but am still seeing the error message.

I also tried (from my terminal) pip3 install pypet2bids with pytest (v 7.4.3) already installed and it uninstalled my pytest version and re-installed version 6.2.5

dlevitas commented 11 months ago

works now after pypi update