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

Migrate to UV #2282

Merged
merged 29 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a7a6621
uv spike
chris48s Sep 26, 2024
7d853ad
set requires-python to python 3.12.x
chris48s Oct 16, 2024
915e49e
allow prereleases in config file
chris48s Oct 16, 2024
7528927
we don't use black anymore
chris48s Oct 16, 2024
c9972e5
project metadata
chris48s Oct 16, 2024
73ae578
bump dc_django_utils
chris48s Oct 16, 2024
c7e9d0c
bump django
chris48s Oct 16, 2024
8a69cf2
whitespace
chris48s Oct 16, 2024
6d5d0d1
remove unnecessary package declarations
chris48s Oct 16, 2024
f554139
move debug toolbar to dev-dependencies, remove 'local' optional group
chris48s Oct 16, 2024
eefd6f3
delete old requirements files
chris48s Oct 16, 2024
1b0e3a6
update install docs
chris48s Oct 16, 2024
7ad181a
delete mock package
chris48s Oct 17, 2024
4022a60
safety: upgrade gunicorn
chris48s Oct 23, 2024
a7d51c9
safety: remove packages we don't use anymore, extend jinja2 ignore
chris48s Oct 23, 2024
d847929
install pyyaml in cdk group
chris48s Oct 23, 2024
315ee6b
CI build
chris48s Oct 23, 2024
1e57ca1
move uv install to script
chris48s Oct 23, 2024
c85d8a3
install packages using uv in deploy, move gevent to prod optional group
chris48s Oct 23, 2024
ea89bad
install uv in the global env with pip instead of curl bashing
chris48s Oct 23, 2024
d32a8a0
use normalized package names
chris48s Oct 23, 2024
32f302a
set up a sensible-ish dependabot config
chris48s Oct 23, 2024
69c7155
add a workflow to re-generate uv.lock on dependabot PRs
chris48s Oct 23, 2024
f43426b
bump versions
chris48s Oct 23, 2024
c5b78be
uv 0.4.27, dependency-groups
chris48s Oct 31, 2024
f3d3075
add uv cache dir to circle cache
chris48s Oct 31, 2024
f2138a2
install and run coveralls in one-liner
chris48s Oct 31, 2024
bd91e5c
remove pyproject.toml hash from cache key
chris48s Oct 31, 2024
165b0fd
tell uv to only use the python we specify in circle image
chris48s Nov 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cdk_settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"base_ami_id": "ami-0c40c7ef04b5ab961",
"recipe_version": "0.0.35"
"recipe_version": "0.0.41"
chris48s marked this conversation as resolved.
Show resolved Hide resolved
}
2 changes: 1 addition & 1 deletion cdk_stacks/components/add_user.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: AddUser
description: Adds a system user
schemaVersion: 1.0
component_version: 0.0.4
component_version: 0.0.5
Copy link
Member

Choose a reason for hiding this comment

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

What changed here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nothing.

When I pushed stuff to the dev AWS account to test it, the image builder threw errors saying there was already a different 0.0.4 of cdk_stacks/components/add_user.yml and already a different 0.0.2 of cdk_stacks/components/instance_connect.yml, so that's why I've bumped those two despite there being no other changes in those files.

I don't really know what a good pattern is for managing this stuff, but given I don't think there's really any downside to bumping a version even if nothing changed, keeping them aligned across AWS accounts seems sensible to me.

parameters:
- username:
type: string
Expand Down
2 changes: 1 addition & 1 deletion cdk_stacks/components/install_app.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: InstallApp
description: Installs the EE Django app
schemaVersion: 1.0
component_version: 0.0.22
component_version: 0.0.27
parameters:
- git_branch:
type: string
Expand Down
2 changes: 1 addition & 1 deletion cdk_stacks/components/instance_connect.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: InstallInstanceConnect
description: Installs AWS EC2 instance Connect
schemaVersion: 1.0
component_version: 0.0.2
component_version: 0.0.3
phases:
- name: build
steps:
Expand Down