Fix macOS wheel build for datajoint
(Issue #249)
#151
Annotations
1 error and 5 warnings
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, conda-incubator/setup-miniconda@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Pip subprocess error:
Running command git clone --filter=blob:none --quiet https://github.com/datajoint-company/datajoint-utilities.git /private/var/folders/py/lcjn3y352g1106vf1rqk521r0000gn/T/pip-req-build-ujd1_vtn
Running command git clone --filter=blob:none --quiet https://github.com/datajoint/datajoint-python.git /private/var/folders/py/lcjn3y352g1106vf1rqk521r0000gn/T/pip-install-h3z10h9v/datajoint_a31228767bbc441bbab1897e1b7687d8
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [48 lines of output]
/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/setuptools/__init__.py:88: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/py/lcjn3y352g1106vf1rqk521r0000gn/T/pip-install-h3z10h9v/datajoint_a31228767bbc441bbab1897e1b7687d8/setup.py", line 26, in <module>
setup(
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/setuptools/__init__.py", line 110, in setup
_install_setup_requires(attrs)
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/setuptools/__init__.py", line 83, in _install_setup_requires
_fetch_build_eggs(dist)
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/setuptools/__init__.py", line 88, in _fetch_build_eggs
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/setuptools/dist.py", line 615, in fetch_build_eggs
return _fetch_build_eggs(self, requires)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/setuptools/installer.py", line 39, in _fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/pkg_resources/__init__.py", line 890, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/pkg_resources/__init__.py", line 926, in _resolve_dist
dist = best[req.key] = env.best_match(
^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1256, in best_match
return self.obtain(req, installer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1292, in obtain
return installer(requirement) if installer else None
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/setuptools/installer.py", line 107, in _fetch_build_egg_no_warn
wheel.install_as_egg(dist_location)
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/setuptools/wheel.py", line 122, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/setuptools/wheel.py", line 130, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/setuptools/wheel.py", line 175,
|
ne 130, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Users/runner/miniconda3/envs/aeon/lib/python3.11/site-packages/setuptools/wheel.py", line 175, in _convert_metadata
os.rename(dist_info, egg_info)
OSError: [Errno 66] Directory not empty: '/private/var/folders/py/lcjn3y352g1106vf1rqk521r0000gn/T/pip-install-h3z10h9v/datajoint_a31228767bbc441bbab1897e1b7687d8/.eggs/watchdog-5.0.2-py3.11-macosx-11.0-arm64.egg/watchdog-5.0.2.dist-info' -> '/private/var/folders/py/lcjn3y352g1106vf1rqk521r0000gn/T/pip-install-h3z10h9v/datajoint_a31228767bbc441bbab1897e1b7687d8/.eggs/watchdog-5.0.2-py3.11-macosx-11.0-arm64.egg/EGG-INFO'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for datajoint
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (datajoint)
|
|
This job failed
Loading