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

[BUG] Flytekit Contribution dependency doesn't work #3862

Closed
2 tasks done
Future-Outlier opened this issue Jul 12, 2023 · 2 comments
Closed
2 tasks done

[BUG] Flytekit Contribution dependency doesn't work #3862

Future-Outlier opened this issue Jul 12, 2023 · 2 comments
Assignees
Labels
bug Something isn't working fit-and-finish flytekit FlyteKit Python related issue

Comments

@Future-Outlier
Copy link
Member

Describe the bug

Hi, community
I just follow the contribution guide to install the dependency to contribute.
However, I encounter 2 environment erros and doesn't know how to solve it.
Can anyone guide me ?
I would love to contribute.

I use Python 3.9.17 as my environment and simple just run.

conda create env -n flytekit  python=3.9
make setup
pip install -e .
pip install gsutil awscli

and run

make requirements

The below will appear the logs

the first one:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorboard 2.8.0 requires google-auth-oauthlib<0.5,>=0.4.1, but you have google-auth-oauthlib 1.0.0 which is incompatible.
Successfully installed setuptools-68.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
pip-compile --upgrade --verbose doc-requirements.in
/root/miniconda3/envs/build/lib/python3.9/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
Using pip-tools configuration defaults found in 'pyproject.toml'.
WARNING: the legacy dependency resolver is deprecated and will be removed in future versions of pip-tools. The default resolver will be changed to 'backtracking' in pip-tools 7.0.0. Specify --resolver=backtracking to silence this warning.

the second one

Using legacy resolver. Consider using backtracking resolver with `--resolver=backtracking`.
Could not find a version that matches grpcio!=1.55.0,<2.0,<2.0dev,<=1.49.1,<=1.51.3,>=1.24.3,>=1.32.0,>=1.33.2,>=1.47.0,>=1.50.0 (from -r doc-requirements.in (line 4))
Tried: 0.13.0, 0.13.1, 0.14.0, 0.15.0, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.1.3, 1.2.0, 1.2.1, 1.3.0, 1.3.5, 1.4.0, 1.6.0, 1.6.3, 1.7.0, 1.7.3, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.6, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.11.0, 1.11.1, 1.12.0, 1.12.1, 1.13.0, 1.14.0, 1.14.1, 1.14.2, 1.15.0, 1.16.0, 1.16.1, 1.17.0, 1.17.1, 1.18.0, 1.19.0, 1.20.0, 1.20.1, 1.21.1, 1.22.0, 1.22.1, 1.23.0, 1.23.1, 1.24.0, 1.24.1, 1.24.3, 1.25.0, 1.26.0, 1.27.1, 1.27.2, 1.28.1, 1.29.0, 1.30.0, 1.31.0, 1.32.0, 1.33.1, 1.33.1, 1.33.1, 1.33.2, 1.33.2, 1.33.2, 1.34.0, 1.34.0, 1.34.0, 1.34.1, 1.34.1, 1.34.1, 1.35.0, 1.35.0, 1.35.0, 1.36.0, 1.36.0, 1.36.0, 1.36.1, 1.36.1, 1.36.1, 1.37.0, 1.37.0, 1.37.0, 1.37.1, 1.37.1, 1.37.1, 1.38.0, 1.38.0, 1.38.0, 1.38.1, 1.38.1, 1.38.1, 1.39.0, 1.39.0, 1.39.0, 1.40.0, 1.40.0, 1.40.0, 1.41.0, 1.41.0, 1.41.0, 1.41.1, 1.41.1, 1.41.1, 1.42.0, 1.42.0, 1.42.0, 1.43.0, 1.43.0, 1.43.0, 1.44.0, 1.44.0, 1.44.0, 1.45.0, 1.45.0, 1.45.0, 1.46.0, 1.46.0, 1.46.0, 1.46.1, 1.46.1, 1.46.1, 1.46.3, 1.46.3, 1.46.3, 1.46.5, 1.46.5, 1.46.5, 1.47.0, 1.47.0, 1.47.2, 1.47.2, 1.47.5, 1.47.5, 1.48.0, 1.48.0, 1.48.1, 1.48.1, 1.48.2, 1.48.2, 1.49.0, 1.49.0, 1.49.1, 1.49.1, 1.50.0, 1.50.0, 1.51.0, 1.51.0, 1.51.1, 1.51.1, 1.51.3, 1.51.3, 1.52.0, 1.52.0, 1.53.0, 1.53.0, 1.53.1, 1.53.1, 1.54.0, 1.54.0, 1.54.2, 1.54.2, 1.55.0, 1.55.0, 1.56.0, 1.56.0
Skipped pre-versions: 0.4.0a0, 0.4.0a1, 0.4.0a2, 0.4.0a3, 0.4.0a4, 0.4.0a5, 0.4.0a6, 0.4.0a7, 0.4.0a8, 0.4.0a13, 0.4.0a14, 0.5.0a0, 0.5.0a1, 0.5.0a2, 0.9.0a0, 0.9.0a1, 0.10.0a0, 0.11.0b0, 0.11.0b1, 0.12.0b0, 0.13.1rc1, 0.14.0rc1, 1.0.0rc1, 1.0.0rc2, 1.0.1rc1, 1.9.0rc1, 1.9.0rc2, 1.9.0rc3, 1.10.0rc2, 1.10.1rc1, 1.10.1rc2, 1.11.0rc1, 1.11.0rc2, 1.11.1rc1, 1.12.0rc1, 1.13.0rc1, 1.13.0rc2, 1.13.0rc3, 1.14.0rc1, 1.14.0rc2, 1.14.2rc1, 1.15.0rc1, 1.16.0rc1, 1.20.0rc1, 1.20.0rc2, 1.20.0rc3, 1.21.0rc1, 1.21.1rc1, 1.22.0rc1, 1.23.0rc1, 1.24.0rc1, 1.25.0rc1, 1.26.0rc1, 1.27.0rc1, 1.27.0rc2, 1.28.0rc1, 1.28.0rc2, 1.34.0rc1, 1.34.0rc1, 1.34.0rc1, 1.35.0rc1, 1.35.0rc1, 1.35.0rc1, 1.36.0rc1, 1.36.0rc1, 1.36.0rc1, 1.37.0rc1, 1.37.0rc1, 1.37.0rc1, 1.38.0rc1, 1.38.0rc1, 1.38.0rc1, 1.39.0rc1, 1.39.0rc1, 1.39.0rc1, 1.40.0rc1, 1.40.0rc1, 1.40.0rc1, 1.41.0rc2, 1.41.0rc2, 1.41.0rc2, 1.42.0rc1, 1.42.0rc1, 1.42.0rc1, 1.43.0rc1, 1.43.0rc1, 1.43.0rc1, 1.44.0rc1, 1.44.0rc1, 1.44.0rc1, 1.44.0rc2, 1.44.0rc2, 1.44.0rc2, 1.45.0rc1, 1.45.0rc1, 1.45.0rc1, 1.46.0rc1, 1.46.0rc1, 1.46.0rc1, 1.46.0rc2, 1.46.0rc2, 1.46.0rc2, 1.47.0rc1, 1.47.0rc1, 1.48.0rc1, 1.48.0rc1, 1.49.0rc1, 1.49.0rc1, 1.49.0rc3, 1.49.0rc3, 1.50.0rc1, 1.50.0rc1, 1.51.0rc1, 1.51.0rc1, 1.52.0rc1, 1.52.0rc1, 1.53.0rc2, 1.53.0rc2, 1.54.0rc1, 1.54.0rc1, 1.55.0rc1, 1.55.0rc1, 1.56.0rc2, 1.56.0rc2
There are incompatible versions in the resolved dependencies:
  grpcio<=1.49.1 (from -r doc-requirements.in (line 4))
  grpcio<2.0dev,>=1.47.0 (from google-cloud-bigquery==3.11.3->-r doc-requirements.in (line 27))
  grpcio<2.0,>=1.24.3 (from tensorflow==2.8.1->-r doc-requirements.in (line 44))
  grpcio<=1.51.3,>=1.32.0 (from ray==2.5.1->-r doc-requirements.in (line 47))
  grpcio<2.0dev,>=1.33.2 (from google-api-core[grpc]==2.11.1->-r doc-requirements.in (line 17))
  grpcio!=1.55.0,<2.0,>=1.50.0 (from flytekit==0.0.0+develop->-r doc-requirements.in (line 1))
make: *** [Makefile:65: doc-requirements.txt] Error 2

Expected behavior

Build successfully.

Additional context to reproduce

No response

Screenshots

image
image

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes
@Future-Outlier Future-Outlier added bug Something isn't working untriaged This issues has not yet been looked at by the Maintainers labels Jul 12, 2023
@welcome
Copy link

welcome bot commented Jul 12, 2023

Thank you for opening your first issue here! 🛠

@eapolinario eapolinario added flytekit FlyteKit Python related issue and removed untriaged This issues has not yet been looked at by the Maintainers labels Jul 14, 2023
@eapolinario eapolinario self-assigned this Jul 14, 2023
@eapolinario
Copy link
Contributor

The doc-requirements.txt make target went through some changes, but we're still seeing a general slowness in the call to pip-compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fit-and-finish flytekit FlyteKit Python related issue
Projects
None yet
Development

No branches or pull requests

2 participants