Skip to content

python3Packages.boddle: init at 0.2.9#188832

Closed
jpetrucciani wants to merge 1 commit intoNixOS:masterfrom
jpetrucciani:jacobi_add_boddle
Closed

python3Packages.boddle: init at 0.2.9#188832
jpetrucciani wants to merge 1 commit intoNixOS:masterfrom
jpetrucciani:jacobi_add_boddle

Conversation

@jpetrucciani
Copy link
Member

Description of changes

I would like to include boddle in nixpkgs proper to assist in unit testing bottle based services!

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.11 Release Notes (or backporting 22.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Aug 29, 2022
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 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. labels Aug 29, 2022
@risicle
Copy link
Contributor

risicle commented Aug 29, 2022

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

It doesn't look like it has many tests, but it would be good to get them running seeing as it is a testing library.

@jpetrucciani
Copy link
Member Author

@risicle good call, i've changed it to load from github instead to include the tests!

src = fetchFromGitHub {
owner = "keredson";
repo = pname;
rev = "74413e4c5b39a37ea1694fab07b459ccd2998390";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
rev = "74413e4c5b39a37ea1694fab07b459ccd2998390";
# upstream doesn't tag releases
rev = "74413e4c5b39a37ea1694fab07b459ccd2998390";

Suggest you open an issue upstream to suggest they start doing this too. There are a few reasons we dislike pointing at specific commit ids:

  • it's not very transparent - there's no guarantee that the commit you're pointing at is even in one of upstream's branches
  • it doesn't work with auto-updaters

@SuperSandro2000
Copy link
Member

@ofborg build python310Packages.boddle

@jpetrucciani
Copy link
Member Author

Closing in favor of #208906 which is what I wanted boddle in nixpkgs for

@jpetrucciani jpetrucciani deleted the jacobi_add_boddle branch January 3, 2023 21:29
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. 8.has: package (new) This PR adds a new package 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. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants