Skip to content
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
9 changes: 4 additions & 5 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}:
utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
pythonPkgs = pkgs.python312Packages;
pythonPkgs = pkgs.python314Packages;
in {
packages.default = pythonPkgs.buildPythonPackage {
pname = "craft-ls";
Expand All @@ -39,7 +39,7 @@
# inputsFrom = [self.packages.${system}.default];
packages = with pkgs; [
uv
python312Packages.nox
python314Packages.nox
];
};
});
Expand Down
14 changes: 11 additions & 3 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,31 @@ issues:
- https://github.com/Batalex/craft-ls/issues/new

adopt-info: craft-ls
base: core24
base: core26
confinement: strict
platforms:
amd64:
arm64:

parts:
runtime:
plugin: nil
stage-packages:
- libpython3.14-minimal
- libpython3.14-stdlib
- python3-minimal
- python3.14-minimal
- python3.14-venv

craft-ls:
after: [runtime]
plugin: uv
source: .
build-snaps:
- astral-uv
override-build: |
craftctl set version="$(cat src/craft_ls/__init__.py | cut -d '"' -f2 | xargs)"
craftctl default
stage-packages:
- python3-venv

apps:
craft-ls:
Expand Down
Loading