Python 3.12.0 is to remove long-deprecated items
41–50 of 257 posts
Re: Python 3.12.0 is to remove long-deprecated items
#42Re: Python 3.12.0 is to remove long-deprecated items
#43Re: Python 3.12.0 is to remove long-deprecated items
#44This is a reminder that the excellent pyenv [0] project can help you manage all your Python versions. - Set global and per-project python versions - Not written in Python. - Shims your PATH - Linux, Mac, Windows [0]: https://github.com/pyenv/pyenv
Re: Python 3.12.0 is to remove long-deprecated items
#45Earlier quoted context omitted.
Because supposedly people will report bugs for them and someone will need to fix them.
“Sorry, we don't fix bugs in deprecated code. Closed.”
Re: Python 3.12.0 is to remove long-deprecated items
#46This is a reminder that the excellent pyenv [0] project can help you manage all your Python versions. - Set global and per-project python versions - Not written in Python. - Shims your PATH - Linux, Mac, Windows [0]: https://github.com/pyenv/pyenv
How does pyenv compare with conda, mamba, pip and poetry? I typically use conda but ever since they broke with python 3.10 I have been considering moving to other environment managers.
Once you're used to the workflow it's pretty smooth. (We switched from conda 2 years ago)
Re: Python 3.12.0 is to remove long-deprecated items
#47Re: Python 3.12.0 is to remove long-deprecated items
#48https://docs.python.org/dev/whatsnew/3.12.html For a lot more info on removals
> Removed many old deprecated unittest features ... > You can use https://github.com/isidentical/teyit to automatically modernise your unit tests. I tried out teyit when it was a "Show HN" 10 months ago (at https://news.ycombinator.com/item?id=29948813 ). It not only pointed out places where I was using a deprecated alias, but also fixed a few places where I was using the API poorly (using "assertTrue(a binop b)" ins…
Re: Python 3.12.0 is to remove long-deprecated items
#49I know setuptools is advanced and recommended but distutils worked fine for me and my users for so many years. It is going to be overhead for me to comb through all my projects and replace distutils with setuptools, test them and testing out packaging and distribution is quite a lot of work.
I am growing unhappy with Python due to these breakages. Is there some other programming language whose maintainers don't break the "user space" like Python has been doing time and again?
Re: Python 3.12.0 is to remove long-deprecated items
#50Sad to see distutils going away. I have very old projects which use distutils for distribution. Wrote them in Python 2 days and they were ported easily to Python 3. But distutils going away is going to break them. I know setuptools is advanced and recommended but distutils worked fine for me and my users for so many years. It is going to be overhead for me to comb through all my projects and replace distutils with se…
> For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils.
From: https://docs.python.org/dev/whatsnew/3.12.html#removed