Closed michaelaye closed 8 months ago
I think you can transfer the issue on the following repository: https://github.com/conda-forge/nb_conda_kernels-feedstock
I guess, even so, it looks like issues aren't looked at over there.
If it helps, I recall from glancing at the logs (now not accessible unfortunately) that the error for 3.12 builds had to do with versioneer
Running pip install -e .
on py312 returns:
C:\Users\Admin\Documents\GitHub\nb_conda_kernels\versioneer.py:421: SyntaxWarning: invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\Admin\Documents\GitHub\nb_conda_kernels\setup.py", line 6, in <module>
version=versioneer.get_version(),
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\Documents\GitHub\nb_conda_kernels\versioneer.py", line 1480, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "C:\Users\Admin\Documents\GitHub\nb_conda_kernels\versioneer.py", line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\Documents\GitHub\nb_conda_kernels\versioneer.py", line 342, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
Perhaps useful: python-versioneer/python-versioneer#375
pip install completes without errors after running versioneer install --vendor
using master branch versioneer
The versioneer issue is resolved, but an old versioneer is vendored here. Upgrade with pipx run versioneer install
.
See https://github.com/python-versioneer/python-versioneer/blob/master/UPGRADING.md for any migration issues.
I opened https://github.com/Anaconda-Platform/nb_conda_kernels/pull/236 after realizing that a naive update in the conda-forge feedstock (https://github.com/conda-forge/nb_conda_kernels-feedstock/pull/53) didn't work.
Would be glad to have anyone look at my PR (#236).
fixed by #237 (and thanks to @basnijholt for #236, which drove it).
At the moment there doesn't seem to be a package for Python 3.12?