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

Build: Bump Qt6 from 6.6.3 to 6.7.2 (Automated PR) #3262

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Apr 6, 2024

This automated Pull Request updates the used Qt6 version to version 6.7.2.

This PR was opened by the workflow Bump dependencies (create-prs)

CHANGELOG: Build: Updated bundled Qt6 to version 6.7.2

@pljones pljones added this to the Release 3.12.0 milestone May 6, 2024
@pljones pljones added bug Something isn't working dependencies Pull requests that update a dependency file labels May 6, 2024
@pljones
Copy link
Collaborator

pljones commented May 6, 2024

#3282 raised to make it easier to see what needs looking at.

@pljones pljones removed the bug Something isn't working label May 6, 2024
@github-actions github-actions bot changed the title Build: Bump Qt6 from 6.6.3 to 6.7.0 (Automated PR) Build: Bump Qt6 from 6.6.3 to 6.7.1 (Automated PR) May 25, 2024
Copy link
Author

PR has been updated for version 6.7.1 by the workflow Bump dependencies (create-prs).

@hoffie hoffie force-pushed the ci/bump-dependencies/Qt6 branch 2 times, most recently from 3de866e to b973206 Compare May 25, 2024 21:54
@pljones
Copy link
Collaborator

pljones commented Jun 8, 2024

Is there a way to add some form of "back off" for want of a better term to bump-dependencies, so it's not so eager to take the very latest version? Maybe aiming for "LTS-1.patch" (long term support, version before latest LTS, but pick up latest patches for that as they may be security-related).

@softins
Copy link
Member

softins commented Jun 8, 2024

I guess that would just be a case of rewriting this appropriately:

latest_minor="$(curl -s https://download.qt.io/official_releases/qt/ | grep -oP 'href="\K[0-9.]+(?=/")' | sort --reverse --version-sort | head -n1)";

The trick would be in deciding what the rules should be for choosing a version.

@pljones
Copy link
Collaborator

pljones commented Jun 9, 2024

sort --version-sort | tail -n2 | head -n1 gets LTS-1 (and skips the unneeded reversal). Given asking for "6.7" gets us the updates from "6.7.0" to "6.7.1" here, I'd assume asking for "6.6" would keep us on latest patch to "6.6" until "6.8" (if that were an LTS) came out and then bump to latest "6.7", which is what I'd be expecting.

I don't see an easy way to get a list of tagged LTS versions... Maybe the source for Qt MaintenanceTool would reveal something.

@softins
Copy link
Member

softins commented Jun 10, 2024

I don't see an easy way to get a list of tagged LTS versions... Maybe the source for Qt MaintenanceTool would reveal something.

In the Qt Github repo, the string lts only appears in tags for 5.15.x and 6.2.x:

tony@pi:~/qt5 $ git tag -l '*lts*'
v5.15.10-lts-lgpl
v5.15.11-lts-lgpl
v5.15.12-lts-lgpl
v5.15.13-lts-lgpl
v5.15.14-lts-lgpl
v5.15.3-lts-lgpl
v5.15.4-lts-lgpl
v5.15.5-lts-lgpl
v5.15.6-lts-lgpl
v5.15.7-lts-lgpl
v5.15.8-lts-lgpl
v5.15.9-lts-lgpl
v6.2.5-lts-lgpl
v6.2.6-lts-lgpl
v6.2.7-lts-lgpl
v6.2.8-lts-lgpl
lines 1-16/16 (END)

So we will have to make our own project decisions. Your suggestion of tail and head would keep us on 6.6 until 6.8 comes out, and would then move us to 6.7, if that's your intention:

$ curl -s https://download.qt.io/official_releases/qt/ | grep -oP 'href="\K[0-9.]+(?=/")'
6.7
6.6
6.5
5.15

$ curl -s https://download.qt.io/official_releases/qt/ | grep -oP 'href="\K[0-9.]+(?=/")' | sort --reverse --version-sort | head -n1
6.7

$ curl -s https://download.qt.io/official_releases/qt/ | grep -oP 'href="\K[0-9.]+(?=/")' | sort --version-sort | tail -n2 | head -n1
6.6

@ann0see
Copy link
Member

ann0see commented Jun 20, 2024

So 6.5 is LTS (https://wiki.qt.io/Qt_version_history) but do we want to downgrade to that?

@pljones
Copy link
Collaborator

pljones commented Jun 21, 2024

So 6.5 is LTS (https://wiki.qt.io/Qt_version_history) but do we want to downgrade to that?

I don't think that can be relied on

The latest version of Qt is 6.5 released on 3 April 2023

and

Revision as of 14:15, 2 January 2024 by Liang Qi (talk | contribs) (Copied directly from https://web.archive.org/web/20231201152348/https://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/Qt_version_history , the page was deleted in wikipedia)

It looks like someone copied it off a copy of a Wikipedia page and the original was deleted and it's not been updated (either before or) since in the Qt Wiki. The Wikipedia page would have been no more recent than 2023-12-01 (and possibly significantly older if it got locked when moved to Wikipedia:Articles_for_deletion).

@github-actions github-actions bot changed the title Build: Bump Qt6 from 6.6.3 to 6.7.1 (Automated PR) Build: Bump Qt6 from 6.6.3 to 6.7.2 (Automated PR) Jun 21, 2024
Copy link
Author

PR has been updated for version 6.7.2 by the workflow Bump dependencies (create-prs).

@hoffie hoffie force-pushed the ci/bump-dependencies/Qt6 branch 2 times, most recently from 7674a5a to 1b24103 Compare June 26, 2024 09:08
@hoffie hoffie force-pushed the ci/bump-dependencies/Qt6 branch 5 times, most recently from 969a8df to ef32ffa Compare July 2, 2024 19:53
@ann0see
Copy link
Member

ann0see commented Jul 21, 2024

(Why) don't we want to update to the latest version here for 3.11.0?

@hoffie hoffie force-pushed the ci/bump-dependencies/Qt6 branch 2 times, most recently from 6ee013b to b57479c Compare July 28, 2024 11:11
@hoffie hoffie force-pushed the ci/bump-dependencies/Qt6 branch 7 times, most recently from c6f80be to 03400bb Compare August 7, 2024 10:09
@hoffie hoffie force-pushed the ci/bump-dependencies/Qt6 branch 2 times, most recently from 414ae81 to 063c132 Compare August 23, 2024 17:23
@ann0see
Copy link
Member

ann0see commented Aug 23, 2024

@jamulussoftware/maindevelopers do we want the Qt version update in the next build or not?

@pljones
Copy link
Collaborator

pljones commented Aug 24, 2024

We're still investigating how to get the version we want, whether LTS or LTS-1 but not latest stable necessarily.

(I'm running 6.7.2 on all my Linux servers and my Windows client so I've no problem, as it happens.)

We also need a strategy to get off 5.x on all platforms.

@hoffie hoffie force-pushed the ci/bump-dependencies/Qt6 branch 3 times, most recently from 009e8dc to 81fe710 Compare August 26, 2024 17:12
@hoffie hoffie force-pushed the ci/bump-dependencies/Qt6 branch 5 times, most recently from bef8a41 to fc57554 Compare September 16, 2024 11:08
@hoffie hoffie force-pushed the ci/bump-dependencies/Qt6 branch 6 times, most recently from 0817d80 to 5e3f431 Compare September 22, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

4 participants