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
feat: Add centos-8 with updated python #3796
Conversation
This user does not have permission to start the build. Can one of the admins verify this patch and start the build? |
1 similar comment
This user does not have permission to start the build. Can one of the admins verify this patch and start the build? |
@kira-syslogng ok to test |
Build SUCCESS |
I do not know much about the DBLD part, but checked the spec file change, and worked perfectly: https://copr.fedorainfracloud.org/coprs/czanik/syslog-ng-githead/build/2862913/ |
Thanks, nice PR! I have opened a PR to your fork, which adds This PR's CI failed because of the Cheers, |
@rfaircloth-splunk What is powertools repo is used for? Python 3.9 is available in the appstream repo:
|
Sorry I missed the github notification of your PR I merged it to my fork |
It was one of the buildtools autoconf-archive I think it was |
Build FAILURE |
@czanik not shure how to troubleshoot the KIRA build failure |
@kira-syslogng Test this please; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, once the build checks out it can go in, imho.
Build SUCCESS |
A commit check job is failing. Please rebase this branch onto the current master, it will make merge commits go away. Passing the |
@MrAnno done |
Build SUCCESS |
pushed with signoff |
Build SUCCESS |
I've used the suggested commands to signoff but it seems to not help not sure how to fix |
Hi! |
It is not used by the spec file, as far as I can see, so most likely can be skipped. |
github-actions: add centos-8 to CI Signed-off-by: Attila Szakacs <attila.szakacs@oneidentity.com>
Build FAILURE |
trying again |
Build SUCCESS |
@czanik can you approve the build to run CI |
@czanik not sure what the deal on the last failure doesn't look like anything in my pr let me know what I shoulld do |
I've checked a failing "Style-check (Light)" job, and it seems some environmental issue, I've run it locally and it's passed. |
We've discussed this PR with the team and decided that we don't want to add Centos 8 as a platform to our CI, since it's EOL date is within 2 months (https://www.centos.org/centos-linux-eol/, https://www.centos.org/cl-vs-cs/). We would like to integrate your changes about the python39 version in the RPM spec file though, as @czanik already tested it, and it would be useful for the current Centos 8 RPMs in COPR (https://copr.fedorainfracloud.org/coprs/czanik/syslog-ng-stable/). May I ask what is your use case for Centos 8 and your plan after Centos 8 EOL? |
I actually don't use centos8, what I used is RedHat8's "universal base image" container. In this case centos8 was a means to the end of having the ability to use python libraries that require python 3.8 or greater. The specific issue I need to manage is a parser I am developing in python that relies on an external rest service in that parser I want to implement a cache to avoid excessive remote calls. We use the rpms from https://copr.fedorainfracloud.org/coprs/czanik/syslog-ng-stable/ for our build so a rpm for python there that is 3.9 would be the solve I am looking for |
I'm back from sick leave and spent the past hour trying to figure out the situation. Unfortunately I could not find a good documentation on Copr repositories, so I'll need to do some tests and also talk to my friend at the CentOS project. From discussions and Twitter polls I see that syslog-ng users are not fond of the CentOS stream idea. Some people already jumped to completely different operating systems (Ubuntu LTS, openSUSE, even FreeBSD), some switched to RHEL (not many) and most people switch to Alma, Rocky or Oracle Linux. However, for syslog-ng development Stream is better: seeing any breaking changes ASAP. In either way this PR is a good starting point both for Stream and traditional releases. |
OK, I added experimental Stream builds to https://copr.fedorainfracloud.org/coprs/czanik/syslog-ng-githead/ The very same spec file works fine for Stream 8. However it needs some hacks on the settings part (adding EPEL) manually, so I'll need to remove it before my next builds. Stream 9 build fails due to missing EPEL repo. Next up: trying to figure out how to build for regular RHEL releases once proper CentOS Linux (not Stream) is dead. |
OK. According to https://twitter.com/Arrfab/status/1455490659167637506 Copr most likely will switch back to RHEL as a base operating system for EPEL packages. I'm almost a week behind schedule due to sick leave, so I do not know when I'll have time to check this, but I got an idea: instead of centos-8 add an rhel-8 target to DBLD based on UBI. However, it needs some checking if all dependencies are available for UBI. In the end it could lead to two DBLD targets:
Note: this is just a brain dump, not discussed with my colleagues yet |
We have talked about this with the team. We are planning to introduce a centos8-like platform to dbld, though, we are not sure which one, yet. In the meantime your specfile change could be merged as is, to help @czanik's build process. Would you mind, if I cherry-picked that change to a separate PR with you as an author? Thanks! |
Opened #3834 |
Hi sorry i missed the question cherry picking is just fine its a means to my end. I just really need "modern" python in the next release. |
3.35 is out, and both my dedicated 3.35 repo and syslog-ng-stable already have modern Python |
Let's continue the discussion about the centos8-like dbld platform in a separate issue, or in #3795. Thank you for your contribution, we have cherry-picked a few patches from your PR. |
#3795
This PR adds build rules to dbld for centos-8 to produce rpms with python 3.9 dependencies