Skip to content

Commit

Permalink
Skip compressed repodata for internal index (#5231)
Browse files Browse the repository at this point in the history
  • Loading branch information
dholth committed Jul 15, 2024
1 parent 4839e39 commit 23ae93f
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 3 deletions.
2 changes: 2 additions & 0 deletions conda_build/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,6 @@ def _delegated_update_index(
warn=warn,
current_index_versions=current_index_versions,
debug=debug,
write_bz2=False,
write_zst=False,
)
20 changes: 20 additions & 0 deletions news/5205-repodata-json-only
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### Enhancements

* Skip generating `repodata.json.bz2` for local index; generate `repodata.json`
only; require `conda-package-handling >=2.2.0` matching conda. (#5205)

### Bug fixes

* <news item>

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies = [
"chardet",
"conda >=23.7.0",
"conda-index >=0.4.0",
"conda-package-handling >=1.3",
"conda-package-handling >=2.2.0",
"filelock",
"frozendict >=2.4.2",
"jinja2",
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ requirements:
- chardet
- conda >=23.7.0
- conda-index >=0.4.0
- conda-package-handling >=1.3
- conda-package-handling >=2.2.0
- filelock
- frozendict >=2.4.2
- jinja2
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ chardet
conda >=23.7.0
conda-index >=0.4.0
conda-libmamba-solver # ensure we use libmamba
conda-package-handling >=1.3
conda-package-handling >=2.2.0
filelock
frozendict >=2.4.2
jinja2
Expand Down

0 comments on commit 23ae93f

Please sign in to comment.