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

chore: migrate dev environment to ubuntu 22.04 and python 3.10 #4425

Merged
merged 5 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ test-shellcheck:

.PHONY: test-legacy-units
test-legacy-units:
tox run -e py38-legacy
tox run -e test-legacy-py310

.PHONY: test-units
test-units: test-legacy-units
tox run -e py38-unit
tox run -e test-py310

.PHONY: tests
tests: tests-static test-units
Expand Down
2 changes: 1 addition & 1 deletion requirements-devel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ raven==6.10.0
requests==2.31.0
requests-toolbelt==1.0.0
requests-unixsocket==0.3.0
ruff==0.0.220
ruff==0.1.1
SecretStorage==3.3.3
simplejson==3.19.1
six==1.16.0
Expand Down
2 changes: 1 addition & 1 deletion tools/environment-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

# Create the container.
if ! lxc info snapcraft-dev >/dev/null 2>&1; then
lxc init ubuntu:20.04 snapcraft-dev
lxc init ubuntu:22.04 snapcraft-dev
fi
if ! lxc config get snapcraft-dev raw.idmap | grep -q "both $UID 1000"; then
lxc config set snapcraft-dev raw.idmap "both $UID 1000"
Expand Down
Loading