{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)... Details- 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)... Details- 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.
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.
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.
Alright, then let's just go with False, and keep the comment
|
Test report by @laraPPr |
|
Test report by @laraPPr |
|
Going in, thanks @PetrKralCZ! |
(created using
eb --new-pr)resolves vscentrum/vsc-software-stack#423