-
Notifications
You must be signed in to change notification settings - Fork 703
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
{tools}[foss/2023b] kaggle v1.6.17 #21854
base: develop
Are you sure you want to change the base?
{tools}[foss/2023b] kaggle v1.6.17 #21854
Conversation
@boegelbot please test @ generoso |
@PetrKralCZ: Request for testing this PR well received on login1 PR test command '
Test results coming soon (I hope)... - notification for comment with ID 2476797770 processed Message to humans: this is just bookkeeping information for me, |
Test report by @boegelbot |
@boegelbot please test @ jsc-zen3 |
@PetrKralCZ: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... - notification for comment with ID 2476818054 processed Message to humans: this is just bookkeeping information for me, |
Test report by @boegelbot |
# `import kaggle` fails for missing API token (`kaggle.json`) | ||
# see `api.authenticate()` in `kaggle/__init__.py` | ||
'modulename': False, |
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.
As discussed, just try importing kaggle.api
instead?
# `import kaggle` fails for missing API token (`kaggle.json`) | |
# see `api.authenticate()` in `kaggle/__init__.py` | |
'modulename': False, | |
'modulename': 'kaggle.api', |
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.
That doesn't help because either way the kaggle/__init__.py
gets executed.
== 2024-11-18 09:28:29,815 build_log.py:171 ERROR EasyBuild crashed with an error (at easybuild/easybuild-framework/easybuild/base/exceptions.py:126 in __init__): Sanity check failed: extensions sanity check failed for 1 extensions: kaggle
failing sanity check for 'kaggle' extension: command "python -c "import kaggle.api"" failed; output:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/scratch/gent/vo/001/gvo00117/easybuild/RHEL8/cascadelake-ampere-ib/software/kaggle/1.6.17-foss-2023b/lib/python3.11/site-packages/kaggle/__init__.py", line 7, in <module>
api.authenticate()
File "/scratch/gent/vo/001/gvo00117/easybuild/RHEL8/cascadelake-ampere-ib/software/kaggle/1.6.17-foss-2023b/lib/python3.11/site-packages/kaggle/api/kaggle_api_extended.py", line 407, in authenticate
raise IOError('Could not find {}. Make sure it\'s located in'
OSError: Could not find kaggle.json. Make sure it's located in /user/gent/453/vsc45304/.config/kaggle. Or use the environment method. See setup instructions at https://github.com/Kaggle/kaggle-api/, (at easybuild/easybuild-framework/easybuild/framework/easyblock.py:3670 in _sanity_check_step)
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.
Alright, then let's just go with False
, and keep the comment
(created using
eb --new-pr
)resolves vscentrum/vsc-software-stack#423