Comments (4)
Hi, thanks for reporting ! I can reproduce it within a Fedora 31 environment (Python 3.7.1).
I've browsed the WWW for a long time, and couldn't really understand why we are getting this.
The package generated by FPM looks good to me, but I'm not an RPM expert, so I fear we will have to ask for external help, maybe @Xysto ?
I've also tried (without any success) a distribution-independant SetupTools upgrade with : dnf install python3-pip && pip3 install -U setuptools
.
Bye, keep us posted if you got any news on your own 👋
Potential related issues :
- pypa/setuptools#1495
- pypa/pip#2868
- https://www.elastic.co/guide/en/elasticsearch/client/curator/current/entrypoint-fix.html
from archey4.
Okay got it.
We actually have to specify the Python version in the installation path, as : /usr/lib/python3.{4,5,6,7,8}/site-packages
.
Debian implements a nice trick avoiding maintainers to deal with this issue, so I have not noticed it before.
Some references :
- https://leemendelowitz.github.io/blog/how-does-python-find-packages.html
- https://unix.stackexchange.com/questions/488135/how-to-build-an-rpm-package-for-python-app-that-works-in-fedora-28-and-29-which#
So the question is : How do we "elegantly" support multiple CentOS / Fedora versions ?
I think about tweaking the build.sh
script to deal with all of these versions.
@brilliant116, would archey4-4.Y.0Z-R.el{5,6,7,8}.noarch
be sufficient from your point of view ?
Note for Arch Linux : As it is a rolling distribution, building compatible packages is easy as specifying the latest stable Python version.
EDIT : Okay, Python 3 looks like a mess in the RPM environment...
Should we rather follow the Fedora versioning ?
It would become something like archey4-4.Y.0Z-R.f[21-32].py3.{4,5,6,7,8}.noarch
.
from archey4.
Update : I've dropped the elX
and fYY
ideas (too many supported Fedora releases).
@brilliant116, could you please tell us what you think about #60 ?
Closing here as a linked PR is opened.
from archey4.
Hello @brilliant116, v4.7.1 is out, and new packages have been uploaded 👌
https://github.com/HorlogeSkynet/archey4/releases/tag/v4.7.1
Bye 👋
from archey4.
Related Issues (20)
- [BUG] Can't get value of subfeature in0_input: Can't read HOT 3
- [BUG] ERROR: archey.test.entries.test_archey_packages (unittest.loader._FailedTest) HOT 5
- [BUG] archey4 can't handle filesystems with spaces HOT 3
- [BUG] [GPU] Avoid multiple `system_profiler` log display HOT 2
- [BUG] Uptime reported incorrectly on macOS HOT 2
- [BUG] in README HOT 1
- Temperature invalid on AMD platform HOT 5
- [FEATURE] Change the Color from the Output HOT 5
- [BUG] Very verbose GPU output HOT 5
- [BUG] On macOS, total disk size is reported incorrectly for APFS drives HOT 9
- [BUG]: In a WSL environment, Ubuntu is reported as Windows HOT 3
- [BUG] Nonfatal warning "WARNING: [root] One entry (misses or) uses an invalid `type` field ('command')." HOT 7
- [BUG] `CPU` not detected on Raspberry Pi 4 HOT 4
- [BUG] `logo_style` ignored from configuration HOT 3
- [Question] What do you means with "iStats" for Highly recommended packages on macOS ? HOT 2
- [BUG] `GPU` not detected on Raspberry Pi 4 HOT 33
- [BUG] uptime: /dev/ttys010: No such file or directory HOT 3
- [FEATURE] An option to disable link local IPv6 addresses (fe80::) in LAN IP output HOT 2
- [BUG] critical error on macOS today HOT 5
- [macOS] ASCII art and entries aren't colored HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archey4.