Scope
Test building RPM with EPEL packages.
Background & Motivation
CDRIVER-4767 was filed due to changes in documentation dependencies that broke builds for EPEL:
- python3-sphinx-design was not available in EPEL: https://github.com/mongodb/mongo-c-driver/pull/1483
- Python 3.10+ was required, but EPEL 9 had Python 3.9: https://github.com/mongodb/mongo-c-driver/pull/1490
- Sphinx 5 was required, but EPEL had Sphinx 1.7.6: https://github.com/mongodb/mongo-c-driver/pull/1492
- Python 3.9+ was required, but EPEL 8 had Python 3.6: https://github.com/mongodb/mongo-c-driver/pull/1504
The C driver currently tests building the RPM package with the mongo-c-driver.spec on RHEL 9.0.
Testing building with EPEL packages may help to prevent future breakage.
Consider using Rocky Linux for testing: https://hub.docker.com/_/rockylinux. Example Dockerfile:
FROM rockylinux:8
RUN yum install -y epel-release
RUN yum install -y mongo-c-driver
RUN yum install -y cmake
RUN yum install -y gcc
RUN yum install -y python3-sphinx
# Enable powertools repository for `python3-sphinx`
RUN yum config-manager --set-enabled powertools
RUN yum install -y python3-sphinx
$ docker build . -t rocky-mongoc $ docker run --rm -it rocky-mongoc
- is testing
-
CDRIVER-4767 Please provide a usable archive
- Closed