Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLD/RLS: fix aarch64 wheel building #352

Merged
merged 10 commits into from
Feb 10, 2024
Merged

Conversation

jorisvandenbossche
Copy link
Member

No description provided.

@jorisvandenbossche
Copy link
Member Author

Seems to be a similar failures as microsoft/vcpkg#36094

@jorisvandenbossche
Copy link
Member Author

With the patch applied, the wheel building now succeeds.

But, now there is another error when running the tests on Circle CI itself (https://app.circleci.com/pipelines/github/geopandas/pyogrio/212/workflows/286ba63b-997f-4bfa-8784-626c1a10886e/jobs/105):

GDAL version: (3, 8, 3)
GEOS version: (3, 11, 3)
============================= test session starts ==============================
platform linux -- Python 3.10.3, pytest-8.0.0, pluggy-1.4.0 -- /opt/circleci/.pyenv/versions/3.10.3/bin/python3
cachedir: .pytest_cache
rootdir: /home/circleci
collected 0 items / 1 error                                                    

==================================== ERRORS ====================================
________________________ ERROR collecting test session _________________________
/opt/circleci/.pyenv/versions/3.10.3/lib/python3.10/site-packages/pluggy/_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
/opt/circleci/.pyenv/versions/3.10.3/lib/python3.10/site-packages/pluggy/_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/opt/circleci/.pyenv/versions/3.10.3/lib/python3.10/site-packages/_pytest/main.py:403: in pytest_ignore_collect
    if not allow_in_venv and _in_venv(collection_path):
/opt/circleci/.pyenv/versions/3.10.3/lib/python3.10/site-packages/_pytest/main.py:376: in _in_venv
    return any(fname.name in activates for fname in bindir.iterdir())
/opt/circleci/.pyenv/versions/3.10.3/lib/python3.10/site-packages/_pytest/main.py:376: in <genexpr>
    return any(fname.name in activates for fname in bindir.iterdir())
/opt/circleci/.pyenv/versions/3.10.3/lib/python3.10/pathlib.py:1015: in iterdir
    for name in self._accessor.listdir(self):
E   PermissionError: [Errno 13] Permission denied: '/opt/containerd/bin'
=========================== short test summary info ============================
ERROR ::opt - PermissionError: [Errno 13] Permission denied: '/opt/containerd/bin'
=============================== 1 error in 0.52s ===============================
ERROR: found no collectors for /opt/circleci/.pyenv/versions/3.10.3/lib/python3.10/site-packages/pyogrio/tests

Nothing should be changed here, so not fully sure why this is now failing ..

@jorisvandenbossche
Copy link
Member Author

jorisvandenbossche commented Feb 9, 2024

Keeping pytest<8 (the one thing I noticed was different with the last succeeding build on main) seems to have fixed it ..
(potentially related pytest-dev/pytest#9089, pytest-dev/pytest#11781). EDIT: probably rather pytest-dev/pytest#11904

@jorisvandenbossche
Copy link
Member Author

The Windows failure should be fixed by upgrading cibuildwheel in #359

@jorisvandenbossche
Copy link
Member Author

Going to merge this as the aarch64 wheel building is passing now

@jorisvandenbossche jorisvandenbossche merged commit 1f1620e into main Feb 10, 2024
26 of 28 checks passed
@jorisvandenbossche jorisvandenbossche deleted the wheels-linux-aarch64 branch February 10, 2024 19:40
@brendan-ward
Copy link
Member

Thanks @jorisvandenbossche !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants