Skip to content

Commit

Permalink
Merge pull request #255 from jeromekelleher/pin-numpy-zarr
Browse files Browse the repository at this point in the history
Distribution maintenance
  • Loading branch information
jeromekelleher authored Jun 19, 2024
2 parents 31a5935 + f11b503 commit 6842e95
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.1.1 2024-06-19

Maintenance release:

- Pin numpy to < 2
- Pin Zarr to < 3

# 0.1.0 2024-06-10

- Initial production-ready version.
Expand Down
10 changes: 7 additions & 3 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dist: ${CASTS}
clean:
rm -fR $(BUILDDIR)
rm -f _static/*.cast
rm sample.vcf.gz*


sample.vcf.gz:
Expand All @@ -35,12 +36,15 @@ sample.vcf.gz:

_static/vcf2zarr_convert.cast: sample.vcf.gz
rm -fR sample.vcz
asciinema-automation cast_scripts/vcf2zarr_convert.sh $@
asciinema-automation -d cast_scripts/vcf2zarr_convert.sh $@
cat _static/vcf2zarr_convert.log
asciinema play _static/vcf2zarr_convert.cast
cp -R sample.vcz vcf2zarr

# TODO rename this cast
_static/vcf2zarr_explode.cast: sample.vcf.gz
rm -Rf sample.icf sample.vcz
asciinema-automation cast_scripts/vcf2zarr_explode.sh $@
asciinema-automation -d cast_scripts/vcf2zarr_explode.sh $@
cat _static/vcf2zarr_explode.log
asciinema play _static/vcf2zarr_explode.cast
cp -R sample.icf sample.vcz vcf2zarr

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ authors = [
{name = "sgkit Developers", email = "project@sgkit.dev"},
]
dependencies = [
"numpy",
"zarr >= 2.17",
"numpy < 2",
"zarr >= 2.17,< 3",
"click",
"tabulate",
"tqdm",
Expand Down Expand Up @@ -60,7 +60,7 @@ dev = [
]

[tool.setuptools]
packages = ["bio2zarr"]
packages = ["bio2zarr", "bio2zarr.vcf2zarr"]

[tool.setuptools_scm]
version_file = "bio2zarr/_version.py"
Expand Down

0 comments on commit 6842e95

Please sign in to comment.