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 · May be fixed by #727
Open

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

daltzctr opened this issue Oct 2, 2024 · 4 comments · May be fixed by #727

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

sciencewhiz added a commit to sciencewhiz/vscode-wpilib that referenced this issue Nov 28, 2024
@sciencewhiz sciencewhiz linked a pull request Nov 28, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants