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

Python: WPILib VS Code incorrectly recommended upgrading Python project #697

Open
daltzctr opened this issue Oct 2, 2024 · 4 comments
Open

Comments

@daltzctr
Copy link

daltzctr commented Oct 2, 2024

Image

@ThadHouse
Copy link
Member

@daltzctr can you post the wpilib_preferences.json, so I can use that as reference?

@daltzctr
Copy link
Author

daltzctr commented Oct 2, 2024

{
  "teamNumber": 7762
}

@ThadHouse
Copy link
Member

Ah. Thats why. It needs a year field.

"projectYear": "2025Alpha",

That's the flag that stops that popup. Should probably also add project Type too. And for now we'd probably just skip the upgrade prompt if the project type is python.

@daltzctr
Copy link
Author

daltzctr commented Oct 2, 2024

Hm. I think this was automatically generated by Python tooling when I set the team number using the robotpy commands

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

No branches or pull requests

2 participants