usnistgov / mass

Microcalorimeter pulse-analysis software
MIT License
6 stars 0 forks source link

ubuntu20 doesnt support python greater than 3.8, mass needs greater than 3.8 #270

Closed joefowler closed 4 months ago

joefowler commented 5 months ago

Original report by Galen O'Neil (Bitbucket: oneilg, GitHub: oneilg).


joefowler commented 5 months ago

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).


I’m sorry, but this is bullshit. Seriously?

Py 3.8 is only 6 months from end-of-life: https://devguide.python.org/versions/

joefowler commented 5 months ago

Original comment by Galen O'Neil (Bitbucket: oneilg, GitHub: oneilg).


It’s bullshit in that it seems real dumb, but I’m not making it up. I spent 30-35 minutes trying to figure out how to get a venv with a new python version running on Ubuntu 20 and failed. I did manage to install 3.12 from a ppa, but failed to get pip working with it. It’s surely solveable on the Ubuntu side, but not as simple as you’d expect.

I’m a also mind blown that there is no way within pip to update a virtual environment to a newer python version.

joefowler commented 5 months ago

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).


Yes, yes. Sorry, obviously I meant only that it’s ridiculous that Py 3.9+ would be the unavailable within Ubuntu 20.

I wonder if your last statement (which is, yes, mind-blowing) is a nudge that we should be using Conda for everything?

joefowler commented 4 months ago

@ggggggggg I don't see anywhere that we require Python 3.9. setup.cfg says

python_requires = >= 3.8

It's true that we only run tests on 3.9 and 3.12, but so what?