You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7f01d49
Browse filesBrowse the repository at this point in the historyBrowse files
fix(conda): vendor only the needed dependencies and ship their data files (#1814)
- conda/requirements.txt: dependencies plus the all extra and what they
require, for the supported CPython tier. The capture engines and the
crawlers' requests and beautifulsoup4 go, as on PyPI since #910;
cryptography and pycrate, with cffi and pycparser, come in; the
pathlib2 and typing-extensions lines were dead on every conda build.
- util/conda_vendor.py derives that list from pyproject.toml and the
installed metadata, replacing util/conda-dist.py. --check reports a
stale list; --smoke checks a built package's vendored files.
- pyproject.toml: package-data ships every file under pcapkit/_extern but
bytecode. Only modules reached the wheel before, so chardet could not
detect, emoji had no JSON and certifi no CA bundle.
- cron-conda.yml: Conda Update installs .[all] and runs the script; each
conda-dist leg smoke-tests its package before the upload.
- tests/project/test_conda_vendor_1814.py pins the package-data rule,
the derivation, the committed list and the smoke.
Clean sdist and wheel: unchanged but for the files added and removed
here, with no new warning. tests/project passes.
Closes#1814
0 commit comments