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

Initial k8s_sandbox project #4

Merged
merged 7 commits into from
Dec 18, 2024
Merged

Conversation

craigwalton-dsit
Copy link
Collaborator

@craigwalton-dsit craigwalton-dsit commented Dec 17, 2024

  • Migrate pyproject.toml (regenerated lockfile), removing unused deps like boto3
  • Copy src/k8s_sandbox (includes Helm chart)
  • Copy test/k8s_sandbox
  • Fix imports for new package structure
  • Fix pre-commit config path for Helm chart

I don't expect anyone to read through the whole list of "files changed"! Please see individual commits to check my working.

Note: I intentionally committed the original .py files with their "broken" imports verbatim from our internal repo, and did a find/replace to fix them in a subsequent commit. This was to make reviewing my work easier and to help with traceability. This doesn't expose any other parts of our internal repo. It simply means that one can see that k8s_sandbox used to live inside a parent aisitools package.

@craigwalton-dsit craigwalton-dsit requested review from tcatling and jasongwartz-aisi and removed request for tcatling December 17, 2024 15:01
Copy link
Collaborator

@jasongwartz-aisi jasongwartz-aisi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

pyproject.toml Outdated
name = "inspect-k8s-sandbox"
version = "0.1.0"
description = "A Kubernetes Sandbox Environment for Inspect"
authors = ["Craig <[email protected]>"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we have a team address or something we can use here? Let me see what inspect does.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a name, not an email - maybe let's do that instead? https://github.com/UKGovernmentBEIS/inspect_ai/blob/main/pyproject.toml#L86

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good shout! I think poetry does name+email automatically, but UK AI Safety Institute makes much more sense.

@craigwalton-dsit craigwalton-dsit merged commit 01318da into main Dec 18, 2024
5 checks passed
@craigwalton-dsit craigwalton-dsit deleted the craig/migrate-project branch December 18, 2024 08:54
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.

2 participants