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

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
博客园_首页
Google DeepMind News
Google DeepMind News
博客园 - 【当耐特】
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Recent Announcements
Recent Announcements
aimingoo的专栏
aimingoo的专栏
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
B
Blog RSS Feed
人人都是产品经理
人人都是产品经理
MongoDB | Blog
MongoDB | Blog
量子位
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
有赞技术团队
有赞技术团队
Jina AI
Jina AI
GbyAI
GbyAI

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.