public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Info on problems with python3-setuptools for IPFire-3.x
@ 2023-09-21 18:25 Adolf Belka
  2023-09-28  9:46 ` Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Adolf Belka @ 2023-09-21 18:25 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]

Hi All,

The IPFire-3.x version of python3-setuptools is quite old so I thought I 
would have a go at updating it but had a few problems on the way.

Running the existing version for 65.6.3 results in

Building python3-setuptools-65.6.3-1.ipfire3.src...
python3-setuptools-65.6.3-1.ipfire3.src does not support being built on 
x86_64
OSError: [Errno 0] Error

Removing the line from the build section that has arches = noarch stops 
that error occurring. Most of the other python3 .nm files don't have 
that arches line present.

Trying to then run version 68.2.2 resulted in the error
Could not add 'setuptools-68.2.2.tar.gz' to package: Success

Testing out the download url I found that it works with version 65.6.3 
but not with 68.2.2. Looking at the download from PyPI I found that 
other parts of the download url are changed for different versions of 
the same package.

The download url for 65.6.3 and for 68.2.2 are shown below for comparison

https://files.pythonhosted.org/packages/b6/21/cb9a8d0b2c8597c83fce8e9c02884bce3d4951e41e807fc35791c6b23d9a/setuptools-65.6.3.tar.gz
https://files.pythonhosted.org/packages/ef/cc/93f7213b2ab5ed383f98ce8020e632ef256b406b8569606c3f160ed8e1c9/setuptools-68.2.2.tar.gz

The above means that each time the version number is changed the 
download url will also need to be manually edited for all downloads from 
PyPI.

After changing the download url then the package downloaded and was 
successfully built.

Regards,

Adolf.



-- 

Sent from my laptop


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-28  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-21 18:25 Info on problems with python3-setuptools for IPFire-3.x Adolf Belka
2023-09-28  9:46 ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox