https://pantsbuild.org/ logo
m

modern-wolf-36228

11/24/2021, 12:45 PM
Copy code
13:44:26.59 [WARN] DEPRECATED: scope python-setup will be removed in version 2.10.0.dev0.
What should I use as replacement? 🤔
I'm on
2.9.0.dev2
, jfyk
to be precise, I'm using:
Copy code
[python-setup]
interpreter_constraints = ["CPython==3.8.*"]
requirement_constraints = "constraints.txt"
n

narrow-vegetable-37489

11/24/2021, 12:50 PM
[python]
I believe
m

modern-wolf-36228

11/24/2021, 1:01 PM
thanks 🙂
🖖 1
b

busy-vase-39202

11/24/2021, 5:06 PM
Would you open a ticket about that? We want to improve error messages and that one can be clearer.
h

happy-kitchen-89482

11/24/2021, 6:03 PM
There should be a message right below that one telling you about the new scope? If not that's a bug
n

narrow-vegetable-37489

11/24/2021, 6:21 PM
Should be, that's how I found out about it at least 🙂
h

happy-kitchen-89482

11/24/2021, 8:27 PM
@modern-wolf-36228 are you not seeing this on a subsequent line?
Copy code
12:26:29.96 [WARN] DEPRECATED: scope python-setup will be removed in version 2.10.0.dev0.

Use scope python instead (options: interpreter_constraints)
m

modern-wolf-36228

11/25/2021, 10:16 AM
Ah... I am 🤔
I think my brain ignored, as it looks more close to the next message? Potential improvements could be: scope between double quotes and new line after the recommendation (or indent it to get more visibility)
In any case, it's my fault for not seeing it 😗
5 Views