diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index c1f396c8b91c..86c64f192c6d 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -21,7 +21,7 @@ defaults: jobs: backport: name: Backport Pull Request - if: vars.NIXPKGS_CI_APP_ID && github.event.pull_request.merged == true && (github.event.action != 'labeled' || startsWith(github.event.label.name, 'backport')) + if: vars.NIXPKGS_CI_CLIENT_ID && github.event.pull_request.merged == true && (github.event.action != 'labeled' || startsWith(github.event.label.name, 'backport')) runs-on: ubuntu-slim timeout-minutes: 3 steps: @@ -30,7 +30,7 @@ jobs: - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-contents: write permission-pull-requests: write diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 42e5e4d4157d..96fda87479d0 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -57,10 +57,10 @@ jobs: # Use a GitHub App, because it has much higher rate limits: 12,500 instead of 5,000 req / hour. - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_APP_ID + if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_CLIENT_ID id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-administration: read permission-contents: write diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index c684865dc369..9b02309b6e84 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -31,10 +31,10 @@ jobs: # Use the GitHub App to make sure the reaction happens with the same user who will later merge. - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_APP_ID + if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_CLIENT_ID id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-pull-requests: write diff --git a/.github/workflows/edited.yml b/.github/workflows/edited.yml index d2fc40ec9830..f6dcb7e8807e 100644 --- a/.github/workflows/edited.yml +++ b/.github/workflows/edited.yml @@ -39,7 +39,7 @@ jobs: - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-pull-requests: write diff --git a/.github/workflows/periodic-merge.yml b/.github/workflows/periodic-merge.yml index 4b10d88a59a5..3396816060c3 100644 --- a/.github/workflows/periodic-merge.yml +++ b/.github/workflows/periodic-merge.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-contents: write permission-pull-requests: write diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index ecdd8732f522..c9400e770045 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -28,10 +28,10 @@ jobs: # Use the GitHub App to make sure the reaction happens with the same user who will later merge. - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_APP_ID + if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_CLIENT_ID id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-pull-requests: write diff --git a/.github/workflows/teams.yml b/.github/workflows/teams.yml index 32a8808ba797..4617b9df5b56 100644 --- a/.github/workflows/teams.yml +++ b/.github/workflows/teams.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-administration: read permission-contents: write diff --git a/pkgs/by-name/fl/fluxcd-operator/package.nix b/pkgs/by-name/fl/fluxcd-operator/package.nix index 6ce426363ef3..167480bca502 100644 --- a/pkgs/by-name/fl/fluxcd-operator/package.nix +++ b/pkgs/by-name/fl/fluxcd-operator/package.nix @@ -9,16 +9,16 @@ }: buildGoModule (finalAttrs: { pname = "fluxcd-operator"; - version = "0.48.0"; + version = "0.49.0"; src = fetchFromGitHub { owner = "controlplaneio-fluxcd"; repo = "fluxcd-operator"; tag = "v${finalAttrs.version}"; - hash = "sha256-Ggx38aF9o7dMFcQxYbx5hSXCE2oRRTgvUvXCAJJN6V8="; + hash = "sha256-hWMXoJ47+kDmMGkGV9GOJ9ssdK6RVvcmxf3fiQYhvgM="; }; - vendorHash = "sha256-xG4mJQfww/pMIg9zK2XpDw7XGCLHvJPXLvBspdSRAcg="; + vendorHash = "sha256-UANjDzaYJ5t10ZzG0a7oftKQVqj1HcE6/LmlnLapCPY="; ldflags = [ "-s" diff --git a/pkgs/development/python-modules/visitor/default.nix b/pkgs/development/python-modules/visitor/default.nix index 727703ca1556..0b27081fc870 100644 --- a/pkgs/development/python-modules/visitor/default.nix +++ b/pkgs/development/python-modules/visitor/default.nix @@ -2,22 +2,27 @@ lib, buildPythonPackage, fetchPypi, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "visitor"; version = "0.1.3"; - format = "setuptools"; + pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; sha256 = "02j87v93c50gz68gbgclmbqjcwcr7g7zgvk7c6y4x1mnn81pjwrc"; }; + build-system = [ setuptools ]; + + pythonImportsCheck = [ "visitor" ]; + meta = { homepage = "https://github.com/mbr/visitor"; description = "Tiny pythonic visitor implementation"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/development/python-modules/volatile/default.nix b/pkgs/development/python-modules/volatile/default.nix index 00abbb8184b5..d0927e353c93 100644 --- a/pkgs/development/python-modules/volatile/default.nix +++ b/pkgs/development/python-modules/volatile/default.nix @@ -3,20 +3,23 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "volatile"; version = "2.1.0"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "mbr"; repo = "volatile"; - tag = version; + tag = finalAttrs.version; hash = "sha256-TYUvr0bscM/FaPk9oiF4Ob7HdKa2HlbpEFmaPfh4ir0="; }; + build-system = [ setuptools ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "volatile" ]; @@ -27,4 +30,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})