-
Notifications
You must be signed in to change notification settings - Fork 8
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
Bump cryptography from 38.0.4 to 39.0.1 #59
Conversation
The linting job failed for some reason. https://github.com/connelldave/botocove/actions/runs/4120906018/jobs/7116097629 This seems to be the cause of the failure:
I have no idea what that really means, and I can't reproduce it locally. When I run |
In my local development environment pre-commit is already initialized and so it's avoiding this problem. I can reproduce the error in a docker container like this:
It seems that the error occurs after pre-commit starts to initialize the environment for isort. Before the stack trace, pre-commit prints this:
|
To reproduce it in my usual environment, I need to clean pre-commit's cache.
Some else already ran into the problem and solved it by upgrading isort to 5.12.0. This also solves it in my local environment. It's just something that all the isort users have to deal with this week. I'll make a PR to fix isort. |
See #60 for a fix for the CI error. |
Good catch on the CI error. Maybe I haven't had enough coffee, but I fixed a dependabot alert previously and wasn't sure it actually made any difference: given the library has no pinned deps, this must just be a lockfile issue - and that lockfile is basically just for local dev? Is the correct solution here just not commiting a lockfile? |
I think it's normally a good idea to commit the lockfile for the sake of reproducibility With it we (you, me, other developers, the CI system) are all using exactly the same versions. Poetry Basic Usage started by backing up my hunch:
And then confused me again by stating the opposite without any reasons:
Botocove is a library, so is it not necessary to commit the lock file? Why not? Without a good reason not to, I'd still do it anyway for the sake of developers. As a periodic housekeeping task (monthly or quarterly) the pre-commit dependencies and the lockfile dependencies could be upgraded to their latest versions to keep our dev tooling up to date. |
Bumps [cryptography](https://github.com/pyca/cryptography) from 38.0.4 to 39.0.1. - [Release notes](https://github.com/pyca/cryptography/releases) - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@38.0.4...39.0.1) --- updated-dependencies: - dependency-name: cryptography dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
9734163
to
4224a85
Compare
#60 got merged so I rebased this PR. Now the CI passes. |
I'm starting to think that, yes, in our case it might be easier just to omit the lock file. Helpful insight from the Poetry maintainers:
Cargo.lock serves the same purpose for Rust programs, and the docs here are more detailed.
By discarding the lock file, we can get that behavior automatically at least for the lock file. So I'd be fine with deleting the lock file to see if it makes our lives easier. If we start to get bed behavior caused by version differences, we can bring it back. |
I've removed the lockfile and will cut a release for typed file :) |
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps cryptography from 38.0.4 to 39.0.1.
Changelog
Sourced from cryptography's changelog.
... (truncated)
Commits
d6951dc
changelog + security fix backport (#8231)138da90
workaround scapy bug in downstream tests (#8218) (#8228)69527bc
bookworm is py311 now (#8200)111deef
backport main branch CI to 39.0.x (#8153)338a65a
39.0.0 version bump (#7954)84a3cd7
automatically download and upload circleci wheels (#7949)525c0b3
Type annotate release.py (#7951)46d2a94
Use the latest 3.10 release when wheel building (#7953)f150dc1
fix CI to work with ubuntu 22.04 (#7950)8867724
fix README for python3 (#7947)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from the Security Alerts page.