Skip to content

fava-dashboards: init at 0.0.0.dev20250811 #432770

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

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

Conversation

seberm
Copy link
Contributor

@seberm seberm commented Aug 11, 2025

Add new package fava-dashboards a module for Fava (Beancount frontend)

The package has no specific version/release. I am still not completely sure which version to use for Nix package.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nix-owners nix-owners bot requested a review from natsukium August 11, 2025 10:29
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 6.topic: python Python is a high-level, general-purpose programming language. labels Aug 11, 2025
@yzhou216
Copy link
Contributor

Squash the commits please

@seberm
Copy link
Contributor Author

seberm commented Aug 14, 2025

Squash the commits please

Sure, I am on it. Thanks a lot for the changes btw!

@seberm seberm force-pushed the feature/add-fava-dashboards branch from 8938972 to 81ae9c2 Compare August 14, 2025 08:13
@yzhou216
Copy link
Contributor

Squash the commits please

Sure, I am on it. Thanks a lot for the changes btw!

Np

@yzhou216
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 432770

Logs: https://github.com/yzhou216/nixpkgs-review-gha/actions/runs/16959758060


x86_64-linux

❌ 4 packages failed to build:
  • python312Packages.fava-dashboards
  • python312Packages.fava-dashboards.dist
  • python313Packages.fava-dashboards
  • python313Packages.fava-dashboards.dist

Error logs: `x86_64-linux`
python312Packages.fava-dashboards
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/r3v4bhq9dgz39bin1wi164w5qzxzr0xq-python3.12-pyproject-hooks-1.2.0/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
    return _build_backend().build_wheel(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/08ibs2v6na71nn2vdhzcpwwfpn7plfjk-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/build.py", line 58, in build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/08ibs2v6na71nn2vdhzcpwwfpn7plfjk-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
    self.metadata.validate_fields()
  File "/nix/store/08ibs2v6na71nn2vdhzcpwwfpn7plfjk-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 265, in validate_fields
    _ = self.version
        ^^^^^^^^^^^^
  File "/nix/store/08ibs2v6na71nn2vdhzcpwwfpn7plfjk-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 149, in version
    self._version = self._get_version()
                    ^^^^^^^^^^^^^^^^^^^
  File "/nix/store/08ibs2v6na71nn2vdhzcpwwfpn7plfjk-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 260, in _get_version
    raise ValueError(message) from None
ValueError: Invalid version `0-unstable-2025-08-11` from source `vcs`, see https://peps.python.org/pep-0440/

ERROR Backend subprocess exited when trying to invoke build_wheel

python313Packages.fava-dashboards
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/nix/store/22zh65h7is3ib0vqg768ynmpgb0b1wd4-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/build.py", line 58, in build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
                            ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/22zh65h7is3ib0vqg768ynmpgb0b1wd4-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
    self.metadata.validate_fields()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/nix/store/22zh65h7is3ib0vqg768ynmpgb0b1wd4-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 265, in validate_fields
    _ = self.version
        ^^^^^^^^^^^^
  File "/nix/store/22zh65h7is3ib0vqg768ynmpgb0b1wd4-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 149, in version
    self._version = self._get_version()
                    ~~~~~~~~~~~~~~~~~^^
  File "/nix/store/22zh65h7is3ib0vqg768ynmpgb0b1wd4-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 260, in _get_version
    raise ValueError(message) from None
ValueError: Invalid version `0-unstable-2025-08-11` from source `vcs`, see https://peps.python.org/pep-0440/

ERROR Backend subprocess exited when trying to invoke build_wheel


aarch64-linux

❌ 4 packages failed to build:
  • python312Packages.fava-dashboards
  • python312Packages.fava-dashboards.dist
  • python313Packages.fava-dashboards
  • python313Packages.fava-dashboards.dist

Error logs: `aarch64-linux`
python312Packages.fava-dashboards
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/pm7qn4b2r6jfwp62rljdqpqhv69zmwm3-python3.12-pyproject-hooks-1.2.0/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
    return _build_backend().build_wheel(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/xdx5v556cv337wyirs5hhm3ynvsa7gk3-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/build.py", line 58, in build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/xdx5v556cv337wyirs5hhm3ynvsa7gk3-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
    self.metadata.validate_fields()
  File "/nix/store/xdx5v556cv337wyirs5hhm3ynvsa7gk3-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 265, in validate_fields
    _ = self.version
        ^^^^^^^^^^^^
  File "/nix/store/xdx5v556cv337wyirs5hhm3ynvsa7gk3-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 149, in version
    self._version = self._get_version()
                    ^^^^^^^^^^^^^^^^^^^
  File "/nix/store/xdx5v556cv337wyirs5hhm3ynvsa7gk3-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 260, in _get_version
    raise ValueError(message) from None
ValueError: Invalid version `0-unstable-2025-08-11` from source `vcs`, see https://peps.python.org/pep-0440/

ERROR Backend subprocess exited when trying to invoke build_wheel

python313Packages.fava-dashboards
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/nix/store/zfy7bbzm285jksp6bpvqxqciq3939a4p-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/build.py", line 58, in build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
                            ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/zfy7bbzm285jksp6bpvqxqciq3939a4p-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
    self.metadata.validate_fields()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/nix/store/zfy7bbzm285jksp6bpvqxqciq3939a4p-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 265, in validate_fields
    _ = self.version
        ^^^^^^^^^^^^
  File "/nix/store/zfy7bbzm285jksp6bpvqxqciq3939a4p-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 149, in version
    self._version = self._get_version()
                    ~~~~~~~~~~~~~~~~~^^
  File "/nix/store/zfy7bbzm285jksp6bpvqxqciq3939a4p-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 260, in _get_version
    raise ValueError(message) from None
ValueError: Invalid version `0-unstable-2025-08-11` from source `vcs`, see https://peps.python.org/pep-0440/

ERROR Backend subprocess exited when trying to invoke build_wheel


x86_64-darwin (sandbox = true)

❌ 4 packages failed to build:
  • python312Packages.fava-dashboards
  • python312Packages.fava-dashboards.dist
  • python313Packages.fava-dashboards
  • python313Packages.fava-dashboards.dist

Error logs: `x86_64-darwin`
python312Packages.fava-dashboards
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/zfgvm3991jd0vxh101a7fljxac2fkr52-python3.12-pyproject-hooks-1.2.0/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
    return _build_backend().build_wheel(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/ljqql8a141qlhgzcdy80rngxfyqw5hfn-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/build.py", line 58, in build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/ljqql8a141qlhgzcdy80rngxfyqw5hfn-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
    self.metadata.validate_fields()
  File "/nix/store/ljqql8a141qlhgzcdy80rngxfyqw5hfn-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 265, in validate_fields
    _ = self.version
        ^^^^^^^^^^^^
  File "/nix/store/ljqql8a141qlhgzcdy80rngxfyqw5hfn-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 149, in version
    self._version = self._get_version()
                    ^^^^^^^^^^^^^^^^^^^
  File "/nix/store/ljqql8a141qlhgzcdy80rngxfyqw5hfn-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 260, in _get_version
    raise ValueError(message) from None
ValueError: Invalid version `0-unstable-2025-08-11` from source `vcs`, see https://peps.python.org/pep-0440/

ERROR Backend subprocess exited when trying to invoke build_wheel

python313Packages.fava-dashboards
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/nix/store/34h3dfkvjgmn4frxif93d15valdjiqgn-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/build.py", line 58, in build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
                            ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/34h3dfkvjgmn4frxif93d15valdjiqgn-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
    self.metadata.validate_fields()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/nix/store/34h3dfkvjgmn4frxif93d15valdjiqgn-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 265, in validate_fields
    _ = self.version
        ^^^^^^^^^^^^
  File "/nix/store/34h3dfkvjgmn4frxif93d15valdjiqgn-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 149, in version
    self._version = self._get_version()
                    ~~~~~~~~~~~~~~~~~^^
  File "/nix/store/34h3dfkvjgmn4frxif93d15valdjiqgn-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 260, in _get_version
    raise ValueError(message) from None
ValueError: Invalid version `0-unstable-2025-08-11` from source `vcs`, see https://peps.python.org/pep-0440/

ERROR Backend subprocess exited when trying to invoke build_wheel


aarch64-darwin (sandbox = true)

❌ 4 packages failed to build:
  • python312Packages.fava-dashboards
  • python312Packages.fava-dashboards.dist
  • python313Packages.fava-dashboards
  • python313Packages.fava-dashboards.dist

Error logs: `aarch64-darwin`
python312Packages.fava-dashboards
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/6br9rqf8kpjhjji34zbndznl2lr5rf5w-python3.12-pyproject-hooks-1.2.0/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
    return _build_backend().build_wheel(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/5siwpa0sqjhz2v109ak775hj7n82rin4-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/build.py", line 58, in build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/5siwpa0sqjhz2v109ak775hj7n82rin4-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
    self.metadata.validate_fields()
  File "/nix/store/5siwpa0sqjhz2v109ak775hj7n82rin4-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 265, in validate_fields
    _ = self.version
        ^^^^^^^^^^^^
  File "/nix/store/5siwpa0sqjhz2v109ak775hj7n82rin4-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 149, in version
    self._version = self._get_version()
                    ^^^^^^^^^^^^^^^^^^^
  File "/nix/store/5siwpa0sqjhz2v109ak775hj7n82rin4-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 260, in _get_version
    raise ValueError(message) from None
ValueError: Invalid version `0-unstable-2025-08-11` from source `vcs`, see https://peps.python.org/pep-0440/

ERROR Backend subprocess exited when trying to invoke build_wheel

python313Packages.fava-dashboards
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/nix/store/1qcd67s2isprpqxhphwmrffpivl8nshz-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/build.py", line 58, in build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
                            ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/1qcd67s2isprpqxhphwmrffpivl8nshz-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
    self.metadata.validate_fields()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/nix/store/1qcd67s2isprpqxhphwmrffpivl8nshz-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 265, in validate_fields
    _ = self.version
        ^^^^^^^^^^^^
  File "/nix/store/1qcd67s2isprpqxhphwmrffpivl8nshz-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 149, in version
    self._version = self._get_version()
                    ~~~~~~~~~~~~~~~~~^^
  File "/nix/store/1qcd67s2isprpqxhphwmrffpivl8nshz-python3.13-hatchling-1.27.0/lib/python3.13/site-packages/hatchling/metadata/core.py", line 260, in _get_version
    raise ValueError(message) from None
ValueError: Invalid version `0-unstable-2025-08-11` from source `vcs`, see https://peps.python.org/pep-0440/

ERROR Backend subprocess exited when trying to invoke build_wheel

Co-authored-by: Yiyu Zhou <yiyuzhou19@gmail.com>
@seberm seberm force-pushed the feature/add-fava-dashboards branch from 81ae9c2 to 4c7a227 Compare August 14, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants