Closed tacaswell closed 1 year ago
thanks for doing this. I am not sure ii know what this module even does
It is used to make sure the version reported by csxtools.__version__
keeps up-to-date with the git tag without you having to think about it :)
The lines I changed were using a (long) deprecated API in code in the standard library that reads and parses configuration files.
@tacaswell @mrakitin who is going to merge or is there a reason we are waiting?
It is just waiting for someone (you?) to push the button!
cool. did that. do you generally want beamlines to merge these kinds of things?
@ambarb, yes, just to keep the beamline staff in the loop, as the code is more controlled on your side (so in case you pull it on the beamline and use it from sources, there will be no surprises).
Ok. I need to test other things and also on the Scientific Python Dev so I can sort it out then.
This is an update to make sure csxtools.__version__
works with Python 3.12+, which we will deploy in the future once the version is released (which is even not a pre-release at the time of this comment).
SafeConfigParser has been deprecated since Python 3.2 and will be removed in py312.
https://github.com/python/cpython/pull/28292 https://bugs.python.org/issue45173 https://github.com/python/cpython/issues/89336