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

Gradle fails on Windows with task :metadata-ingestion:checkPythonVersion #12683

Open
dougbot01 opened this issue Feb 19, 2025 · 0 comments
Open
Labels
bug Bug report

Comments

@dougbot01
Copy link
Contributor

Describe the bug
When trying to build metadata-ingestion on Windows 10, I get an error

> Task :metadata-ingestion:checkPythonVersion FAILED
Caching disabled for task ':metadata-ingestion:checkPythonVersion' because:
  Gradle would require more information to cache this task
Task ':metadata-ingestion:checkPythonVersion' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Starting process 'command 'python3''. Working directory: C:\ds_software\dhtest\datahub\metadata-ingestion Command: python3 -c import sys; sys.version_info >= (3, 8), f"Python version {sys.version_info[:2]} not allowed"
Successfully started process 'command 'python3''
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'fPython' is not defined

To Reproduce
Steps to reproduce the behavior:

  1. On Windows 10
  2. open cmd.exe or pwsh.exe
  3. Issue command to build: ./gradlew :metadata-ingestion:installDev
  4. See error

Expected behavior
The build should not fail.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: N/A
  • Version: N/A

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

1 participant