v3.31.1: the Linux PC/SC headers (pyscard builds from source)
release / release (push) Waiting to run

The first release run failed installing the test dependencies:
pyscard 2.3.1 publishes macOS and Windows wheels only (no manylinux),
so on Linux it always builds from source and needs the PC/SC headers -
the job stopped at "winscard.h: No such file or directory".

- The release workflow installs libpcsclite-dev before the dependencies.
- The READMEs and setup.sh name the header package next to pcscd/ccid:
  libpcsclite-dev (Debian/Ubuntu), pcsc-lite-devel (Fedora), included
  in Arch's pcsclite.  This affects every Linux user running setup, not
  just CI.
- Version strings + the PWA cache bumped together (simple-v456).

No runtime change: 997 Python + 953 frontend green; the release package
test builds with the new version.
This commit is contained in:
2026-10-20 23:34:15 +03:00
parent 9ee9c85b09
commit 8f2d9732d6
8 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -723,7 +723,7 @@ PWA проверяет версию сервера при подключении
### Требования
- **Python 3.9+** с `pip`, и **Git**
- **Смарт-картридер** (PC/SC или serial/FTDI) — предпочтителен PC/SC (`pcsc-lite` + `ccid` на Linux)
- **Смарт-картридер** (PC/SC или serial/FTDI) — предпочтителен PC/SC (`pcsc-lite` + `ccid` на Linux). У `pyscard` нет Linux-wheel, поэтому он собирается из исходников: поставьте и пакет с заголовками PC/SC (`libpcsclite-dev` в Debian/Ubuntu, `pcsc-lite-devel` в Fedora; в Arch они входят в `pcsclite`).
- **Windows** — используйте Python 3.9–3.13 (рекомендуется 3.13): у `pyscard` есть готовые wheel. На 3.14 он собирается из исходников (нужны MSVC C++ Build Tools). SMPP-мост (`smpp.twisted3`) в Windows сознательно не ставится.
### Скрипты