Skip to content

Commit

Permalink
conda-recipe: Unpin libpng, allowing libpng's run_exports to handle t…
Browse files Browse the repository at this point in the history
…he constraints for us.
  • Loading branch information
stuarteberg committed Dec 23, 2024
1 parent 90fca8d commit b921d7a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions conda-recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ hdf5:
- 1.14.3
jsoncpp:
- 1.9.6
libpng:
- '1.6'
lz4_c:
- 1.9.3
numpy:
Expand Down
10 changes: 7 additions & 3 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ requirements:
- lz4-c {{ lz4_c }}
- zeromq {{ zeromq }}
- libdeflate
- libpng 1.6.28
- libpng
- libjpeg-turbo 2 # Statically linked, so no runtime dependency below.

# In 7.62.0, CURL_HTTP_VERSION_2TLS became the default setting for CURLOPT_HTTP_VERSION
Expand All @@ -76,8 +76,12 @@ requirements:
- lz4-c {{ lz4_c }}
- zeromq {{ zeromq }}
- libdeflate
- libpng >=1.6.28,<1.7 # On Mac, libpng versions are not backwards compatible, unfortunately.
# See: https://github.com/conda-forge/libpng-feedstock/issues/10

# On Mac, libpng versions are not backwards compatible, unfortunately.
# See: https://github.com/conda-forge/libpng-feedstock/issues/10
# However, I think the libpng run_exports (added in conda-build v3)
# should handle this for us, so we won't specify the constraints here.
- libpng

# In 7.62.0, CURL_HTTP_VERSION_2TLS became the default setting for CURLOPT_HTTP_VERSION
- curl >=7.62.0
Expand Down

0 comments on commit b921d7a

Please sign in to comment.