Skip to content
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

pythonPackages.bumpversion: init at 0.5.3 #55034

Closed
wants to merge 1 commit into from
Closed

pythonPackages.bumpversion: init at 0.5.3 #55034

wants to merge 1 commit into from

Conversation

peterromfeldhk
Copy link
Contributor

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

@peterromfeldhk peterromfeldhk requested a review from FRidh as a code owner February 1, 2019 05:21
@GrahamcOfBorg GrahamcOfBorg added 6.topic: python 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 labels Feb 1, 2019
@@ -0,0 +1,24 @@
{ stdenv, lib, buildPythonPackage, fetchFromGitHub }:

buildPythonPackage rec {
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this an application rather than a library?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

its in devDependencies for the project i try to package up.. but i guess it can be used as a application

Copy link
Member

Choose a reason for hiding this comment

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

Are you sure it's used as import bumpversion there? Also, I've sometimes seen the case that an application is imported just to call its main function, what could have been done using subprocess.call().

description = "Version-bump your software with a single command";
homepage = https://github.com/peritus/bumpversion;
maintainers = with maintainers; [ peterromfeldhk ];
license = with licenses; [ mit ];
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
license = with licenses; [ mit ];
license = licenses.mit;

@@ -0,0 +1,24 @@
{ stdenv, lib, buildPythonPackage, fetchFromGitHub }:

buildPythonPackage rec {
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure it's used as import bumpversion there? Also, I've sometimes seen the case that an application is imported just to call its main function, what could have been done using subprocess.call().

sha256 = "08zjxa9k15jrvjy7j7qbwjkggcisbx2x4yh5rva4slnjrk3qhmx8";
};

# checkInputs = [ pytest mock git mercurial ];
Copy link
Member

Choose a reason for hiding this comment

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

No need to comment these out. They won't be used unless checks are enabled.

@mmahut
Copy link
Member

mmahut commented Aug 20, 2019

Are there any updates on this pull request, please?

@FRidh
Copy link
Member

FRidh commented Feb 9, 2020

Nothing happening so closing.

@FRidh FRidh closed this Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants