-
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
Open
PetrKralCZ
wants to merge
1
commit into
easybuilders:develop
Choose a base branch
from
PetrKralCZ:20241114162324_new_pr_kaggle1617
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
easybuild/easyconfigs/k/kaggle/kaggle-1.6.17-foss-2023b.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
easyblock = 'PythonBundle' | ||
|
||
name = 'kaggle' | ||
version = '1.6.17' | ||
|
||
homepage = "https://github.com/Kaggle/kaggle-api" | ||
description = """Official API for https://www.kaggle.com, | ||
accessible using a command line tool implemented in Python 3.""" | ||
|
||
toolchain = {'name': 'foss', 'version': '2023b'} | ||
|
||
builddependencies = [ | ||
('hatchling', '1.18.0'), | ||
] | ||
|
||
dependencies = [ | ||
('Python', '3.11.5'), | ||
('tqdm', '4.66.2'), | ||
# for certifi, python-dateutil, requests, six, urllib3 and webencodings | ||
('Python-bundle-PyPI', '2023.10'), | ||
] | ||
|
||
use_pip = True | ||
sanity_pip_check = True | ||
|
||
exts_list = [ | ||
('bleach', '6.2.0', { | ||
'source_tmpl': SOURCE_PY3_WHL, | ||
'checksums': ['117d9c6097a7c3d22fd578fcd8d35ff1e125df6736f554da4e432fdd63f31e5e'], | ||
}), | ||
('text_unidecode', '1.3', { | ||
'source_tmpl': SOURCE_WHL, | ||
'checksums': ['1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8'], | ||
}), | ||
('python_slugify', '8.0.4', { | ||
'modulename': 'slugify', | ||
'source_tmpl': SOURCE_WHL, | ||
'checksums': ['276540b79961052b66b7d116620b36518847f52d5fd9e3a70164fc8c50faa6b8'], | ||
}), | ||
(name, version, { | ||
# `import kaggle` fails for missing API token (`kaggle.json`) | ||
# see `api.authenticate()` in `kaggle/__init__.py` | ||
'modulename': False, | ||
'checksums': ['439a7dea1d5039f320fd6ad5ec21b688dcfa70d405cb42095b81f41edc401b81'], | ||
}), | ||
] | ||
|
||
moduleclass = 'tools' |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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?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.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