From nhowitt at clearcenter.com Mon Jul 5 11:25:26 2021 From: nhowitt at clearcenter.com (Nick Howitt) Date: Mon, 5 Jul 2021 12:25:26 +0100 Subject: [scl.org] Python >= 3.9.5 Message-ID: Hi, I have been asked to look into running a package requiring Python >= 3.9.5 in my distro, ClearOS7 which is a derivative of Centos7 and binary compatible with it. All that is needed is Python with pip support so that they can set up a virtual environment and run their package within it. It works fine with a command line installation of 3.9.5 but that is not distributable. To me, the best route is to go down the scl route but it seems to be that there are some issues packaging python into an rpm because it needs to somehow bootstrap itself. Is there any intention to create an rh-python39 package? If there is no intention to create one, are there any build instructions or is there anyone who can help guide me? I have started by cloning rh-python38 and changing all the references from 38 to 39, but this is relatively easy and creates 4 packages, rh-python, rh-python-build, rh-python-runtime and rh-python-scldevel. What comes next? TIA, Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From nhowitt at clearcenter.com Mon Jul 5 11:49:11 2021 From: nhowitt at clearcenter.com (Nick Howitt) Date: Mon, 5 Jul 2021 12:49:11 +0100 Subject: [scl.org] Python >= 3.9.5 Message-ID: <17e0c6d2-7f6c-6063-f1d2-83c15f820fb9@clearcenter.com> Hi, I have been asked to look into running a package requiring Python >= 3.9.5 in my distro, ClearOS7 which is a derivative of Centos7 and binary compatible with it. All that is needed is Python with pip support so that they can set up a virtual environment and run their package within it. It works fine with a command line installation of 3.9.5 but that is not distributable. To me, the best route is to go down the scl route but it seems to be that there are some issues packaging python into an rpm because it needs to somehow bootstrap itself. Is there any intention to create an rh-python39 package? If there is no intention to create one, are there any build instructions or is there anyone who can help guide me? I have started by cloning rh-python38 and changing all the references from 38 to 39, but this is relatively easy and creates 4 packages, rh-python, rh-python-build, rh-python-runtime and rh-python-scldevel. What comes next? TIA, Nick From jstanek at redhat.com Wed Jul 7 10:02:51 2021 From: jstanek at redhat.com (=?UTF-8?Q?Jan_Stan=C4=9Bk?=) Date: Wed, 7 Jul 2021 03:02:51 -0700 Subject: [scl.org] Python >= 3.9.5 In-Reply-To: <17e0c6d2-7f6c-6063-f1d2-83c15f820fb9@clearcenter.com> References: <17e0c6d2-7f6c-6063-f1d2-83c15f820fb9@clearcenter.com> Message-ID: Hi Nick, please refer to the packaging guide [1], especially Chapter 2. That should get you up and running; feel free to ask if you run into a wall. [1]: https://www.softwarecollections.org/en/docs/guide/ Otherwise, if you intent to publish/share the collection with others, please do not use the `rh-` prefix ? that is reserved for official Red Hat collections. Best regards! -- Jan Stan?k Software Engineer, Red Hat jstanek at redhat.com irc: jstanek -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From nhowitt at clearcenter.com Wed Jul 7 11:07:50 2021 From: nhowitt at clearcenter.com (Nick Howitt) Date: Wed, 7 Jul 2021 12:07:50 +0100 Subject: [scl.org] Python >= 3.9.5 In-Reply-To: References: <17e0c6d2-7f6c-6063-f1d2-83c15f820fb9@clearcenter.com> Message-ID: On 07/07/2021 11:02, Jan Stan?k wrote: > Hi Nick, > please refer to the packaging guide [1], especially Chapter 2. > That should get you up and running; feel free to ask if you run into a > wall. > > [1]: https://www.softwarecollections.org/en/docs/guide/ > > Otherwise, if you intent to publish/share the collection with others, > please do not use the `rh-` prefix ? that is reserved for official Red > Hat collections. > > Best regards! > -- > Jan Stan?k > Software Engineer, Red Hat > jstanek at redhat.com irc: jstanek > Hello Jan, Thanks for the reply. Apologies for double-posting but the list did not mail back to me my first post I assumed it had failed as I'd accidentally sent it in html, so I resent it in plain text. Do you happen to know if there is a particular build order for the packages, e.g rh-python38 followed by installing it and then building rh-python38-python and so on or can they be built independently. The intention is to just get a base python39 running with pip39 so a virtualenv can be created. After that, all required packages will be installed with pip to avoid messing with the base o/s installation. Thanks for the tip about rh. I'd already guessed that one. Locally I'll start with rh but, if I succeed, I'll switch it to something else and rebuild before rolling it out. Regards, Nick From jstanek at redhat.com Tue Jul 20 08:20:34 2021 From: jstanek at redhat.com (=?UTF-8?Q?Jan_Stan=C4=9Bk?=) Date: Tue, 20 Jul 2021 08:20:34 +0000 Subject: [scl.org] Cancelled: 2021-07-20 SCLo SIG syncup Message-ID: Hi all, due to technical reasons [1], I will be unable to chair today's sync-up. Unless someone else steps up, I will unfortunately have to cancel it. Of course, feel free to still join up and discuss without supervision ;) Have a nice day! [1]: I have misplaced my laptop charger and I'm unable to get a substitute in time. Sorry for that. -- Jan Stan?k Software Engineer, Red Hat jstanek at redhat.com irc: jstanek -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: