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

Library builds fail after CentOS 7 EOL #3785

Closed
jan-auer opened this issue Jul 3, 2024 · 2 comments · Fixed by #3787
Closed

Library builds fail after CentOS 7 EOL #3785

jan-auer opened this issue Jul 3, 2024 · 2 comments · Fixed by #3787
Assignees

Comments

@jan-auer
Copy link
Member

jan-auer commented Jul 3, 2024

CentOS builds for the Relay library fail since mirrorlist.centos.org no longer exists as CentOS 7 has reached EOL on 2024-07-01.

Options to resolve this are:

  • Replace the mirror with vault.centos.org in all repos
  • Update to a more recent centos distribution along with a more recent manylinux

The detailed error message is:

14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"


 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7/x86_64

See also:

@jan-auer
Copy link
Member Author

jan-auer commented Jul 3, 2024

Sentry now runs on python:3.11.8-slim-bookworm, which is based on Debian glibc 2.36.

This means we can update all the way to pypamanylinux_2_28_{x86_64,aarch64}. All available tags here. Let's double-check with @asottile-sentry if we're happy to raise the minimum requirement.

@asottile-sentry
Copy link
Member

2.28 is our current floor for pypi -- anything newer than that and it'll cause some problems but 2.28 should be fine!

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 a pull request may close this issue.

3 participants