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) #771

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
2 changes: 1 addition & 1 deletion .github/workflows/api-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
api-docs:
name: maas.io/docs/api
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@main
- name: Get branch name
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install linkchecker
run: sudo pip install LinkChecker
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build image
run: DOCKER_BUILDKIT=1 docker build --tag maas-io .
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install dotrun
run: sudo pip3 install dotrun requests==2.31.0 # requests version is pinned to avoid breaking changes, can be removed once issue is resolved: https://github.com/docker/docker-py/issues/3256
Expand All @@ -73,10 +73,10 @@ jobs:
run: dotrun lint-python

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

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install requirements
run: |
Expand All @@ -102,7 +102,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Check inclusive naming
uses: canonical-web-and-design/inclusive-naming@main
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

# Build stage: Install python dependencies
# ===
FROM ubuntu:focal AS python-dependencies
FROM ubuntu:noble AS python-dependencies
RUN apt-get update && apt-get install --no-install-recommends --yes python3-pip python3-setuptools
COPY requirements.txt /tmp/requirements.txt
ARG DISABLE_PIP_VERSION_CHECK=1
RUN --mount=type=cache,target=/root/.cache/pip pip3 install --user --requirement /tmp/requirements.txt

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

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

ENV LANG C.UTF-8
WORKDIR /srv
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
"author": "Canonical webteam",
"license": "LGPL v3",
"devDependencies": {
"@testing-library/cypress": "9.0.0",
"cypress": "12.17.4",
"stylelint": "14.16.1",
"stylelint-config-recommended-scss": "5.0.2",
"stylelint-order": "5.0.0"
"@testing-library/cypress": "10.0.2",
"cypress": "13.15.2",
"stylelint": "16.10.0",
"stylelint-config-recommended-scss": "14.1.0",
"stylelint-order": "6.0.4"
},
"dependencies": {
"@canonical/cookie-policy": "3.4.0",
Expand All @@ -37,7 +37,7 @@
"@canonical/latest-news": "1.4.1",
"autoprefixer": "10.4.19",
"postcss": "8.4.31",
"postcss-cli": "9.1.0",
"postcss-cli": "11.0.0",
"sass": "1.77.1",
"vanilla-framework": "4.5.1",
"venobox": "2.1.8"
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ canonicalwebteam.templatefinder==1.0.0
canonicalwebteam.search==2.1.0
canonicalwebteam.image-template==1.3.1
feedparser==6.0.11
requests-cache==0.9.8
lxml==4.9.4
requests-cache==1.2.1
lxml==5.3.0
cchardet==2.1.7; platform_machine != 'aarch64'
pyyaml==6.0.1
Loading
Loading