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

adding acryl-datahub #28897

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
77 changes: 77 additions & 0 deletions recipes/acryl-datahub/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{% set name = "acryl-datahub" %}
{% set version = "0.15.0.4" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/acryl_datahub-{{ version }}.tar.gz
sha256: 6b1b8591bb485b2aa51010052758e9a7b2dee2030c8b373b72e944c570935f28

build:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like this package should probably be noarch: python. See:
https://conda-forge.org/docs/maintainer/knowledge_base/#noarch-python

Take note of changes related to python_min. I think the main thing you were struggling with is that even though upstream says it supports python>=3.8, in reality that metadata is wrong since they are using typing syntax that would require you to set python_min = 3.10

Copy link
Contributor Author

@anshbansal anshbansal Jan 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are tests running that check that it works on Python 3.8 https://github.com/datahub-project/datahub/actions/runs/12946781664

In the conda pipelines it was running it on Python 3.12

entry_points:
- datahub = datahub.entrypoints:main
skip: True # [py>=312 or py<38]
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python
- setuptools >=63.0.0
- wheel
- pip
run:
- python
- requests-file
- avro-gen3 ==0.7.16
- tabulate
- click-spinner
- importlib-metadata >=4.0.0
- cached_property
- toml >=0.10.0
- typing_extensions >=4.2.0
- click >=7.1.2
- packaging
- pyyaml
- jsonref
- python-dateutil >=2.8.0
- ijson
- humanfriendly
- deprecated
- sentry-sdk
- expandvars >=0.6.5
- avro >=1.11.3,<1.12
- typing_inspect
- psutil >=5.8.0
- pydantic >=1.10.0,!=1.10.3
- click-default-group
- docker-py
- mixpanel >=4.9.0
- aiohttp <4
- jsonschema
- ruamel.yaml
- progressbar2

test:
imports:
- datahub
commands:
- pip check
- datahub --help
requires:
- python
- pip

about:
home: https://github.com/datahub-project/datahub
summary: A CLI to work with DataHub metadata
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- anshbansal
- pedro93
- hsheth2
Loading