-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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.labelbox: init at 2.1 #68097
Conversation
@GrahamcOfBorg build pythonPackages.labelbox python3Packages.labelbox |
@jonringer , Thanks i will test the suggested changes and update accordingly. |
@jonringer , I have updated the suggested changes and tested. @GrahamcOfBorg build pythonPackages.labelbox python3Packages.labelbox |
you need to be whitelisted for ofborg to pick up commands @GrahamcOfBorg build pythonPackages.labelbox python3Packages.labelbox |
OK @jonringer , Thanks. |
I noticed that there were no tests ran, it appears that the pypi package doesn't include tests. I would pull source from https://github.com/Labelbox/labelbox-python so that tests are ran (this will help to know if the package is broken by one of it's dependencies being updated) |
OK @jonringer . I will update this. |
Hi @jonringer , I had tried to take source from https://github.com/Labelbox/labelbox-python
|
I think you can use the master branch with a fixed commit.
…On 11 September 2019 19:27:53 GMT+10:00, Rakesh Gupta ***@***.***> wrote:
> I noticed that there were no tests ran, it appears that the pypi
package doesn't include tests. I would pull source from
https://github.com/Labelbox/labelbox-python so that tests are ran (this
will help to know if the package is broken by one of it's dependencies
being updated)
Hi @jonringer , I had tried to take source from
https://github.com/Labelbox/labelbox-python
- release source on GitHub is showing version 0.0.2 (9 Sep 2018) . On
https://pypi.org labelbox 2.0.1 (3 Sep 2019) is available. Also
- when i tried to build labelbox-python from GitHub it used pipenv and
is causing access related issues. not sure how to proceed on this.
`Traceback (most recent call last):
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/bin/.pipenv-wrapped",
line 11, in <module>
sys.exit(cli())
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/vendor/click/core.py",
line 764, in __call__
return self.main(*args, **kwargs)
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/vendor/click/core.py",
line 717, in main
rv = self.invoke(ctx)
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/vendor/click/core.py",
line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/vendor/click/core.py",
line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/vendor/click/core.py",
line 555, in invoke
return callback(*args, **kwargs)
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py",
line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/vendor/click/core.py",
line 555, in invoke
return callback(*args, **kwargs)
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/cli/command.py",
line 408, in run
command=command, args=args, three=state.three, python=state.python,
pypi_mirror=state.pypi_mirror
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/core.py",
line 2310, in do_run
three=three, python=python, validate=False, pypi_mirror=pypi_mirror,
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/core.py",
line 574, in ensure_project
pypi_mirror=pypi_mirror,
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/core.py",
line 489, in ensure_virtualenv
if not project.virtualenv_exists:
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/project.py",
line 272, in virtualenv_exists
if self.pipfile_exists and os.path.exists(self.virtualenv_location):
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/project.py",
line 437, in virtualenv_location
self._virtualenv_location = self.get_location_for_virtualenv()
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/project.py",
line 294, in get_location_for_virtualenv
return str(get_workon_home().joinpath(self.virtualenv_name))
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/utils.py",
line 1414, in get_workon_home
mkdir_p(str(expanded_path))
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/utils.py",
line 864, in mkdir_p
mkdir_p(head)
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/utils.py",
line 864, in mkdir_p
mkdir_p(head)
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/utils.py",
line 864, in mkdir_p
mkdir_p(head)
File
"/nix/store/m7kvd3qg2dwl6kzp583f6bdc16d2hpps-pipenv-2018.11.26/lib/python3.7/site-packages/pipenv/utils.py",
line 869, in mkdir_p
os.mkdir(newdir)
PermissionError: [Errno 13] Permission denied: '/homeless-shelter'
`
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#68097 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
interesting... I wonder how they are doing releases then...
So, $HOME is usually set to "/homeless-shelter", and this is intentional so that the builds aren't leaking into the system. generally I do |
Permission related error is still there on my system.
|
@CMCDragonkai @jonringer I had to disable
|
If everything works, at the end make sure to squash all commits into 1 commit following the commit guidelines for nixpkgs. |
Hi @CMCDragonkai , I have squashed all commits into 1 commit. I think this is now ready for merge from my side. Thanks. |
There's another MR with adding Rakesh into contributor list. Should we wait for that be merged first?
…On 31 October 2019 02:34:46 GMT+11:00, Jon ***@***.***> wrote:
jonringer commented on this pull request.
> + rakesh4g = {
+ email = ***@***.***";
+ github = "Rakesh4G";
+ name = "Rakesh Gupta";
+ };
please add githubId and put this into a different commit
This will also cause a merge conflict with your other PR
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#68097 (review)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
which one is able to be merged, I'll merge fist |
|
please remove maintainers commit :) |
OK, Thanks. |
@GrahamcOfBorg build python27Packages.labelbox python37Packages.labelbox python38Packages.labelbox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nix-review
passes on NixOS
diff LGTM
commits LGTM
outputs LGTM
[5 built, 0.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/68097
3 package were build:
python27Packages.labelbox python37Packages.labelbox python38Packages.labelbox
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nix-review
passes on NixOS
diff LGTM
commits LGTM
[5 built, 0.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/68097
3 package were build:
python27Packages.labelbox python37Packages.labelbox python38Packages.labelbox
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @CMCDragonkai