Skip to content

Fix macOS wheel build for datajoint (Issue #249) #136

Fix macOS wheel build for datajoint (Issue #249)

Fix macOS wheel build for datajoint (Issue #249) #136

Triggered via pull request September 11, 2024 20:56
Status Failure
Total duration 9m 24s
Artifacts

build_env_run_tests.yml

on: pull_request
Matrix: Build env using pip and pyproject.toml
Matrix: build_env_run_tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 24 warnings
Build env and run tests on macos-latest
The process '/Users/runner/miniconda3/condabin/conda' failed with exit code 1
Build env and run tests on ubuntu-latest
Process completed with exit code 1.
Build env using pip and pyproject.toml (windows-latest, 3.11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build env using pip and pyproject.toml (windows-latest, 3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build env using pip and pyproject.toml (macos-latest, 3.11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build env using pip and pyproject.toml (macos-latest, 3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build env and run tests on macos-latest
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/
Build env and run tests on macos-latest
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/
Build env and run tests on macos-latest
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-g0yryp1g Running command git clone --filter=blob:none --quiet https://github.com/datajoint/datajoint-python.git /private/var/folders/py/lcjn3y352g1106vf1rqk521r0000gn/T/pip-install-g4yp3x2z/datajoint_bea423a2107c4a2f94b25b9b277c852d 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-g4yp3x2z/datajoint_bea423a2107c4a2f94b25b9b277c852d/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,
Build env and run tests on macos-latest
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-g4yp3x2z/datajoint_bea423a2107c4a2f94b25b9b277c852d/.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-g4yp3x2z/datajoint_bea423a2107c4a2f94b25b9b277c852d/.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) CondaEnvException: Pip failed
Build env using pip and pyproject.toml (ubuntu-latest, 3.11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build env using pip and pyproject.toml (ubuntu-latest, 3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build env and run tests on ubuntu-latest
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/
Build env and run tests on ubuntu-latest
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/
Mambaforge is now deprecated!
Future Miniforge releases will NOT build Mambaforge installers. We advise you switch to Miniforge at your earliest convenience. More details at https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/.
Build env and run tests on ubuntu-latest
Mamba support is still experimental and can result in differently solved environments!
Build env and run tests on windows-latest
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/
Build env and run tests on windows-latest
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/
Mambaforge is now deprecated!
Future Miniforge releases will NOT build Mambaforge installers. We advise you switch to Miniforge at your earliest convenience. More details at https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/. If you require mambaforge, you may pin your installer to one found from https://github.com/conda-forge/miniforge/releases/tag/24.5.0-1
Build env and run tests on windows-latest
'else' is not recognized as an internal or external command, operable program or batch file.
Build env and run tests on windows-latest
WARNING conda.activate:native_path_to_unix(1034): cygpath is not available, fallback to manual path conversion
Build env and run tests on windows-latest
WARNING conda.activate:native_path_to_unix(1034): cygpath is not available, fallback to manual path conversion
Build env and run tests on windows-latest
WARNING conda.activate:native_path_to_unix(1034): cygpath is not available, fallback to manual path conversion
Build env and run tests on windows-latest
WARNING conda.activate:native_path_to_unix(1034): cygpath is not available, fallback to manual path conversion
Build env and run tests on windows-latest
WARNING conda.activate:native_path_to_unix(1034): cygpath is not available, fallback to manual path conversion
Build env and run tests on windows-latest
Mamba support is still experimental and can result in differently solved environments!