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(deps): update all dependencies (major) #1153

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
18 changes: 9 additions & 9 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
run-image:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -24,7 +24,7 @@ jobs:
curl --head --fail --retry-delay 1 --retry 30 --retry-connrefused http://localhost

run-dotrun:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -44,7 +44,7 @@ jobs:
run: dotrun & curl --head --fail --retry-delay 1 --retry 30 --retry-connrefused http://localhost:8002

lint-scss:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -56,7 +56,7 @@ jobs:
run: yarn lint-scss

lint-python:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -73,7 +73,7 @@ jobs:
run: yarn lint-python

lint-jinja:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -88,7 +88,7 @@ jobs:

- name: Get changed HTML files in the templates folder
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v45
with:
files: templates/**

Expand All @@ -101,7 +101,7 @@ jobs:
djlint $CHANGED_FILES --lint

test-python:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -126,7 +126,7 @@ jobs:
bash <(curl -s https://codecov.io/bash) -cF python

test-javascript:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -138,7 +138,7 @@ jobs:
run: yarn test-js

inclusive-naming-check:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Build stage: Install python dependencies
# ===
FROM ubuntu:jammy AS python-dependencies
FROM ubuntu:noble AS python-dependencies
RUN apt-get update && apt-get install --no-install-recommends --yes python3-pip python3-setuptools
ADD requirements.txt /tmp/requirements.txt
RUN --mount=type=cache,target=/root/.cache/pip pip3 install --user --requirement /tmp/requirements.txt


# Build stage: Install yarn dependencies
# ===
FROM node:18 AS yarn-dependencies
FROM node:23 AS yarn-dependencies
WORKDIR /srv
ADD package.json .
RUN --mount=type=cache,target=/usr/local/share/.cache/yarn yarn install --production
Expand All @@ -28,7 +28,7 @@ RUN yarn run build-css

# Build the production image
# ===
FROM ubuntu:jammy
FROM ubuntu:noble

# Install python and import python dependencies
RUN apt-get update && apt-get install --no-install-recommends --yes python3-setuptools python3-lib2to3 python3-pkg-resources ca-certificates libsodium-dev
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,34 @@
"@canonical/cookie-policy": "^3.6.4",
"@canonical/global-nav": "3.6.4",
"@canonical/latest-news": "1.5.0",
"@testing-library/cypress": "9.0.0",
"@testing-library/cypress": "10.0.2",
"autoprefixer": "10.4.17",
"concurrently": "7.6.0",
"concurrently": "9.1.0",
"esbuild": "0.19.12",
"fuse.js": "^6.6.2",
"intl-tel-input": "17.0.18",
"fuse.js": "^7.0.0",
"intl-tel-input": "24.7.0",
"postcss": "8.4.33",
"postcss-cli": "10.1.0",
"postcss-cli": "11.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "1.79.0",
"vanilla-framework": "4.18.2"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.4.0",
"concurrently": "6.5.1",
"cypress": "12.17.4",
"concurrently": "9.1.0",
"cypress": "13.16.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "2.8.8",
"stylelint": "14.16.1",
"prettier": "3.4.1",
"stylelint": "16.10.0",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-standard-scss": "6.1.0",
"stylelint-config-standard-scss": "13.1.0",
"stylelint-order": "6.0.4",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5",
"typescript": "^5.0.0",
"watch-cli": "0.2.3"
},
"jest": {
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ canonicalwebteam.image-template==1.3.1
canonicalwebteam.templatefinder==1.0.0
canonicalwebteam.discourse==5.6.1
canonicalwebteam.search==2.1.1
bleach==5.0.1
bleach==6.2.0
markdown==3.5.2
python-slugify==7.0.0
python-slugify==8.0.4
vcrpy-unittest==0.1.7
cryptography==36.0.2
gql==2.0.0
gql==3.5.0
google-api-python-client==2.49.0
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.5.1
google-auth-oauthlib==1.2.1
pytz==2024.1
djlint==1.34.1
Loading
Loading