惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
量子位
月光博客
月光博客
罗磊的独立博客
宝玉的分享
宝玉的分享
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
WordPress大学
WordPress大学
博客园 - 叶小钗
博客园 - 聂微东
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
雷峰网
雷峰网
博客园 - 三生石上(FineUI控件)
Jina AI
Jina AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
美团技术团队
爱范儿
爱范儿
V
Visual Studio Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Y
Y Combinator Blog

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - python-cryptodatahub
2026-06-03 · via AUR Newest Packages

Latest Comments

MarsSeed commented on 2023-08-03 21:03 (UTC)

Python's build and install doesn't complain after all because of the missing pathlib2 (which is unnecessary for the execution of the code itself).

But the resulting MEDATATA file will contain an erroneous entry (the last one):

$ cat /usr/lib/python3.11/site-packages/CryptoDataHub-0.10.0.dist-info/METADATA | grep pathlib2

Requires-Dist: pathlib2 (==2.3.7.post1) ; python_version < "3.4"
Requires-Dist: pathlib2 (==2.3.7.post1) ; python_version < '3'
Requires-Dist: pathlib2 ; python_version >= "3.4"

MarsSeed commented on 2023-07-31 16:29 (UTC)

Actually I would just use a sed expression to delete the requirements lines with pathlib2 in them.

MarsSeed commented on 2023-07-31 16:28 (UTC)

I think you still need to patch the requirements.txt to remove its declaration of pathlib2, otherwise setup will complain.

And also you need to bump pkgrel to 2, to force a rebuild with the changed metadata.

carlosal1015 commented on 2023-07-31 16:05 (UTC)

MarsSeed commented on 2023-07-31 16:03 (UTC)

The requirements.txt should be patched to remove pathlib2;python_version>="3.4", as pathlib2 is part of the Python stdlib, and this module is only needed on some old Python 3.x versions, not for the current Python 3.8+ releases.