A simple development conda channel for testing repodata for conda-pypi.
Warning
This is for testing new repodata formats and it is not for production use! If you are looking for production index generation for a channel use conda-index).
Create the conda environment:
conda env create -f environment.yml
conda activate conda-pypi-test- Edit
packages.txtwith your desired packages:
requests==2.32.5
fastapi==0.116.1
- Generate repodata:
python generate.pyThis generates:
noarch/repodata.json- Uncompressed metadatanoarch/repodata.json.bz2- Bzip2 compressed (faster downloads)noarch/repodata.json.zst- Zstandard compressed (best compression)
- Use the channel locally:
conda install -c . package-nameWhen you push changes to packages.txt, GitHub Actions will automatically:
- Set up the conda environment from
environment.yml - Generate repodata with compression
- Upload to GitHub Releases (tag:
noarch)
Use the channel from GitHub:
conda install -c https://github.com/conda-incubator/conda-pypi-test/releases/download/noarch package-name