Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pybigtools to 0.2.2 #50026

Merged
merged 3 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions recipes/pybigtools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
# -x = print every executed command
set -ex

# Add workaround for SSH-based Git connections from Rust/cargo. See https://github.com/rust-lang/cargo/issues/2078 for details.
# We set CARGO_HOME because we don't pass on HOME to conda-build, thus rendering the default "${HOME}/.cargo" defunct.
export CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_HOME="${BUILD_PREFIX}/.cargo"

# There is some issue here building with Python 3.8 on macOS >= 11
# See https://github.com/pypa/cibuildwheel/issues/1410
export MACOSX_DEPLOYMENT_TARGET=12.7
Expand All @@ -23,12 +19,6 @@ if [[ $target_platform == osx-* ]]; then
done
fi

# Use a custom temporary directory as home on macOS.
# (not sure why this is useful, but people use it in bioconda recipes)
if [ `uname` == Darwin ]; then
export HOME=`mktemp -d`
fi

# Build statically linked binary with Rust
# Note: This sdist is a bit wonky because it was generated from a monorepo by running maturin sdist
RUST_BACKTRACE=1
Expand All @@ -44,4 +34,4 @@ maturin build -m pybigtools/Cargo.toml -b pyo3 --interpreter "${PYTHON}" --relea
${PYTHON} -m pip install pybigtools/target/wheels/*.whl --no-deps --no-build-isolation --no-cache-dir -vvv

# Move the LICENSE file to the root dir
mv pybigtools/LICENSE .
mv pybigtools/LICENSE .
13 changes: 7 additions & 6 deletions recipes/pybigtools/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set name = "pybigtools" %}
{% set version = "0.2.0" %}
{% set sha256 = "7c5d1676c5042b92f3f11bae3166cda92f5b33eb1a0a8c3411eb4c54ed94dd12" %}
{% set version = "0.2.2" %}
{% set sha256 = "8fe5e5f04cadca7d1f58653203928455e405a25fbc26d272ce5e443b70533ba3" %}

package:
name: {{ name }}
Expand All @@ -11,7 +11,7 @@ source:
sha256: {{ sha256 }}

build:
number: 1
number: 0
run_exports:
- {{ pin_subpackage('pybigtools', max_pin="x.x") }}

Expand All @@ -32,16 +32,17 @@ test:
- pybigtools

about:
home: https://github.com/jackh726/bigtools/
home: "https://github.com/jackh726/bigtools"
license: MIT
summary: 'pybigtools: Python bindings to the Bigtools Rust library for high-performance BigWig and BigBed I/O'
license_family: MIT
license_file: LICENSE
doc_url: https://bigtools.readthedocs.io
dev_url: https://github.com/jackh726/bigtools/
doc_url: "https://bigtools.readthedocs.io"
dev_url: "https://github.com/jackh726/bigtools"

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
identifiers:
- doi:10.5281/zenodo.10606493