Skip to content

Build failure: python3*Packages.cfn-lint #432354

@me-and

Description

@me-and

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

nix build github:NixOS/nixpkgs/00b574b1ba8a#python3Packages.cfn-lint --rebuild

(00b574b is, at time of writing, the tip of nixpkgs-unstable.)

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/304359829

Relevant log output

self = <test.unit.module.override.test_exclude.TestExclude testMethod=test_success_run>

    def test_success_run(self):
        """Success test"""
        filename = "test/fixtures/templates/good/generic.yaml"
    
        PROVIDER_SCHEMA_MANAGER.patch(
            "test/fixtures/templates/override_spec/exclude.json", regions=[self.region]
        )
    
        config = ConfigMixIn(
            regions=[self.region],
            templates=[filename],
        )
        runner = Runner(config)
        runner.rules = self.collection
    
>       self.assertEqual([], list(runner.run()))
E       AssertionError: Lists differ: [] != [[W2531: Check if EOL Lambda Function Runt[226 chars]:174]
E       
E       Second list contains 1 additional elements.
E       First extra element 0:
E       [W2531: Check if EOL Lambda Function Runtimes are used] (Runtime 'nodejs18.x' was deprecated on '2025-07-31'. Creation was disabled on '2025-10-01' and update on '2025-11-01'. Please consider updating>
E       
E       - []
E       + [[W2531: Check if EOL Lambda Function Runtimes are used] (Runtime 'nodejs18.x' was deprecated on '2025-07-31'. Creation was disabled on '2025-10-01' and update on '2025-11-01'. Please consider updat>

test/unit/module/override/test_exclude.py:43: AssertionError

Additional context

It looks like at least part of the problem is a dependency on the system date, which would explain why the package is failing to build now but succeeded previously.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.35, NixOS, 25.05 (Warbler), 25.05.20250629.b43c397
  • multi-user?: yes
  • sandbox: relaxed
  • version: nix-env (Nix) 2.28.3
  • channels(root): "nixos-24.11"
  • nixpkgs: /nix/store/j95fcik6rzsydwips4m89dmlvfj9hg9y-source

Notify maintainers

No package maintainers 😢

Tagging a few people who have recently updated this package: @K900 @leona-ya @mweinelt


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build6.topic: pythonPython is a high-level, general-purpose programming language.
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions