Skip to content

Commit

Permalink
Remove .whl build hack, update with 1.2.0 deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jyap-abc authored and asford committed Jan 13, 2023
1 parent 7054b14 commit 21b49e7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 9 additions & 20 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,19 @@ package:
version: {{ version }}

source:
# Directly install .whl build, due to upstream .tar.gz dist error
# Here including both:
# * .tar.gz, for LICENSE
# * .whl, for code
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/flytekit-{{ version }}.tar.gz
sha256: 16c09335a1f106de2903ce5e369985c61c1c3cbb9be9c8d470ff2507a6b16e56
folder: .
- url: https://files.pythonhosted.org/packages/7c/a9/307368ce4d9040378e738cb46990528827ce8de46a19a65a3a2cb5e89337/flytekit-1.1.0-py3-none-any.whl
sha256: 4686a0e02e71e7ab1aff4a79ba8976be7ef63767e8c853a3824a88e182f9df4e
fn: flytekit-{{ version }}-py3-none-any.whl
folder: .
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/flytekit-{{ version }}.tar.gz
sha256: 16c09335a1f106de2903ce5e369985c61c1c3cbb9be9c8d470ff2507a6b16e56

build:
number: 0
noarch: python
entry_points:
- pyflyte-execute=flytekit.bin.entrypoint:execute_task_cmd
- pyflyte-fast-execute=flytekit.bin.entrypoint:fast_execute_task_cmd
- pyflyte-map-execute=flytekit.bin.entrypoint:map_execute_task_cmd
- pyflyte=flytekit.clis.sdk_in_container.pyflyte:main
- flyte-cli=flytekit.clis.flyte_cli.main:_flyte_cli
# Install from wheel, revert to standard pip install -vv . after:
# https://github.com/flyteorg/flytekit/pull/1088
script: {{ PYTHON }} -m pip install -vv flytekit-{{ version }}-py3-none-any.whl
script: {{ PYTHON }} -m pip install . -vv
number: 1
noarch: python

requirements:
host:
Expand All @@ -44,17 +33,18 @@ requirements:
- dataclasses-json >=0.5.2
- deprecated >=1.0,<2.0
- diskcache >=5.2.1
- docker-py >=5.0.3,<6.0.0
- docker-py >=5.0.3,<7.0.0
- docker-image-py >=0.1.10
- docstring_parser >=0.9.0
- flyteidl >=1.1.3,<1.2.0
- grpcio >=1.43.0,<2.0 # upstream blocks grpcio 1.45.0, but build is present in conda-forge
- grpcio-status >=1.43 # upstream blocks grpcio 1.45.0, but build is present in conda-forge
- importlib-metadata
- joblib
- keyring >=18.0.1
- marshmallow-jsonschema >=0.12.0
- natsort >=7.0.1
- numpy
- numpy <1.24.0
- pandas >=1.0.0,<2.0.0
- protobuf >=3.6.1,<4
- pyarrow >=4.0.0,<7.0.0
Expand All @@ -69,7 +59,7 @@ requirements:
- retry ==0.9.2
- sortedcontainers >=1.5.9,<3.0.0
- statsd >=3.0.0,<4.0.0
- typing-extensions
- typing_extensions
- urllib3 >=1.22,<2.0.0
- wheel >=0.30.0,<1.0.0
- wrapt >=1.0.0,<2.0.0
Expand All @@ -79,7 +69,6 @@ test:
- example.py
imports:
- flytekit
- flytekit.bin
commands:
- pip check
- pyflyte-execute --help
Expand Down

0 comments on commit 21b49e7

Please sign in to comment.