-
Notifications
You must be signed in to change notification settings - Fork 457
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
kde-neon extension fixes #5261
kde-neon extension fixes #5261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! You will need to do a make format
and make lint
to fix the CI failure. (and make setup
too, we had some major changes to the dev environment for Snapcraft)
A few other spread tests are broken this week. We're planning to fix them soon, so you can ignore them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Ok, I am on plucky and make setup didn't like libgit2-1.8 so I built 1.7 from source and was able to move forward. make format was a success and I committed. make lint failed with Pyproject file parse attempt 1 error: {"name":"TomlError","fromTOML":true,"wrapped":null,"line":102,"col":31,"pos":2614} |
The line number that error is originating from makes me think there might be local modifications to your pyproject.toml for the dependency of pygit2, and that introduced a syntax error. If running Also, are you able to share the error message you got from installing
becomes
But I don't have a plucky machine to test on. |
`> git diff origin/main -- pyproject.toml scarlett@scarlett-work2:~/ubuntu-core/snapcraft$ git diff origin/main -- pyproject.toml
+[dependency-groups]
+[tool.uv]
+[[tool.uv.index]]
+[tool.setuptools]
+[tool.setuptools.packages.find] [tool.mypy] -[tool.pytest.ini_options]
|
Sorry, I should've thought of this - you'll want to update that While we're at it, could you also show the output of Ultimately, this is all passing in CI so it should be okay, but it would be awesome to know why |
There is no longer a diff pyright 1.1.393 make setup works but now make lint fails with Makefile:26: warning: overriding recipe for target 'lint-docs' make: *** [common.mk:101: lint-ruff] Error 2 |
Nevermind, I am a dummy. I was not in venv. Still the same original error |
FYI @medubelko, with this PR, we will need to split https://canonical-snapcraft.readthedocs-hosted.com/en/latest/reference/extensions/kde-neon-extensions.html#included-build-environment-variables into a core22 and core24 sections. I can make an issue in Github, we'll have similar work for #5271 |
Yes, please. It's something we can also add to CODA. |
|
@mr-cal when is the next snapcraft release containing these fixes planned to be released? I'm asking as we're depending on those to upgrade the FreeCAD snap to core24. Thanks! |
Seeing that there is a 8.7.1 pre-release at https://github.com/canonical/snapcraft/releases (this PR was merged a day after the release), can the changes in this PR make it to 8.7.2? |
@mr-cal thank you. Is there a rolling or testing channel for snapcraft where these committed fixes can be tested from our (GitHub) CI? The 2025-03-17 release date sounds ok, but I'd regret waiting for a month, reenable our CI jobs and then find out there's another blocking issue that needs to be addressed. Or is a local build of the snapcraft snap the only alternative? |
Yes, you can use snapcraft with |
This is great, I'll give it a go, thanks! |
To be able to use fixes in canonical/snapcraft#5261 before the Snapcraft 8.8.0 release (sceheduled in a few weeks time).
Don't add X11 to layouts twice. Add mesa libs to core24 ld library path.
make lint
?make test
?