dagster-io / dagster

An orchestration platform for the development, production, and observation of data assets.
https://dagster.io
Apache License 2.0
10.78k stars 1.34k forks source link

make pyright error #21800

Open dbrtly opened 2 months ago

dbrtly commented 2 months ago

Dagster version

dagster, version 1!0+dev

What's the issue?

This is probably a me thing but I don't know what it is.

(dagster) [\w]\n$ make pyright python scripts/run-pyright.py --all Creating virtualenv for pyright environment master... Copying /Users/danielbartley/code/dagster-labs/dagster/pyright/master/requirements-pinned.txt to requirements-master.txt.... Using Python 3.10.14 interpreter at: /Users/danielbartley/code/dagster-labs/.venv/bin/python Creating virtualenv at: pyright/master/.venv

What did you expect to happen?

running on default branch should execute with no errors.

How to reproduce?

git clone, install in contributing mode, make pyright

Deployment type

None

Deployment details

No response

Additional information

No response

Message from the maintainers

Impacted by this issue? Give it a 👍! We factor engagement into prioritization.

JPercivall commented 1 week ago

@dbrtly I'm hitting this same issue. Did you find a fix or workaround?

JPercivall commented 1 week ago

For me at least, I believe this is because torch stopped supporting intel macs (what I have) with the 2.3.0 release: https://dev-discuss.pytorch.org/t/pytorch-macos-x86-builds-deprecation-starting-january-2024/1690

Not really an easy way to get around that without manually building torch.

dbrtly commented 1 week ago

For me at least, I believe this is because torch stopped supporting intel macs (what I have) with the 2.3.0 release: https://dev-discuss.pytorch.org/t/pytorch-macos-x86-builds-deprecation-starting-january-2024/1690

Not really an easy way to get around that without manually building torch.

Plausible. I am indeed on an intel mac.