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

Update our vendored deps to more modern versions. #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

csilvers
Copy link
Member

@csilvers csilvers commented Sep 20, 2024

Summary:

The vendored golangci-lint didn't work with the version of Go
we're using now. The vendored pyflakes didn't work with
python3.12. (Which is not the version we're using now, but
some people have it installed as their default.)

I should probably update the javascript deps as well,
but they don't seem to be broken for anything so I'm
leaving them alone for now. I don't know how to test
the upgrades very well.

I now match the versions we use in webapp.

Issue: https://khanacademy.slack.com/archives/C02NV1DPJ/p1726506371960829

Test plan:

For Go, I successfully ran ka-lint formatter.go in the
Khan/stackdriver-gae-logrus-plugin directory.

For Python, I successfully ran

python3.12 -c 'import flake8.api.legacy; flake8.api.legacy.get_style_guide()

Before this change, it gave an import error.

@csilvers csilvers self-assigned this Sep 20, 2024
@csilvers csilvers requested a review from a team September 20, 2024 00:10
@csilvers csilvers changed the title Update golangci-lint to match the latest version we're using. Update our vendored deps to more modern versions. Sep 20, 2024
I match the one from webapp.  The important thing is that it's recent
enough to work with the version of Go we run now.

Issue: none

Test plan:
I successfully ran `ka-lint formatter.go` in the
Khan/stackdriver-gae-logrus-plugin directory.
Issue: https://khanacademy.slack.com/archives/C02NV1DPJ/p1726506371960829

Test plan:
I ran this successfully:
```
python3.12 -c 'import flake8.api.legacy; flake8.api.legacy.get_style_guide()
```

Before this change, it gave an import error.
@csilvers csilvers changed the base branch from unicode-fix to master September 20, 2024 00:35
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 this pull request may close these issues.

1 participant