bumping whenever dependency#1085
Open
mhdask wants to merge 10 commits into
Open
Conversation
GitRepoManager.initialize_repo() checked for `.git` with `.is_dir()`, which misses git worktrees (`.git` is a file containing `gitdir: ...`). The existing-repo branch was skipped and `Repo.init` then crashed with `FileExistsError` trying to mkdir the gitlink file. This made `infrahubctl transform` (and any other CLI relying on branch auto-detection) unusable from a worktree. Switch the check to `.exists()` — dulwich's `Repo(path)` already resolves the gitlink to the real controldir, and `porcelain.active_branch` returns the worktree's branch correctly.
Bumps [starlette](https://github.com/Kludex/starlette) from 0.49.3 to 1.0.1. - [Release notes](https://github.com/Kludex/starlette/releases) - [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md) - [Commits](Kludex/starlette@0.49.3...1.0.1) --- updated-dependencies: - dependency-name: starlette dependency-version: 1.0.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pyarrow](https://github.com/apache/arrow) from 22.0.0 to 23.0.1. - [Release notes](https://github.com/apache/arrow/releases) - [Commits](apache/arrow@apache-arrow-22.0.0...apache-arrow-23.0.1) --- updated-dependencies: - dependency-name: pyarrow dependency-version: 23.0.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
….0.1 chore(deps): bump pyarrow from 22.0.0 to 23.0.1
…1.0.1 chore(deps): bump starlette from 0.49.3 to 1.0.1
fix(repository): detect existing repo when .git is a worktree gitlink
Author
|
Hmm seems that infrahub-develop branch has fallen behind table |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Started working on packaging infrahub for nix/NixOS - For that, some dependency bumping is needed, to align with the other versions of dependencies in nixpkgs
This bumps
wheneverto0.10.0What changed
wheneverto0.10.0ZonedDateTime0.10.0deprecatespy_datetimein favour ofto_stdlibHow to review
infrahub-testcontainersfromrelease-1.10due to dependencies againstprefect-clientChecklist
uv run towncrier create ...)Summary by cubic
Bump
wheneverto 0.10.x and update timestamp calls to the new API. Also fix upsert with CoreNumberPool-backed HFIDs and make repo detection work in Git worktrees.Dependencies
wheneverto>=0.10.0,<0.11.0.Bug Fixes
save/create(allow_upsert=True)now raises a clearValidationErrorif the HFID includes aCoreNumberPool-sourced attribute, instead of failing with a backend error..gitis a worktree gitlink file to avoid re-init crashes.Written for commit 483f855. Summary will update on new commits.