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

Narrow dependencies' versions #5

Merged
merged 3 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions kaggle_provider/__init__.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
__version__ = "1.0.0"


## This is needed to allow Airflow to pick up specific metadata fields it needs for certain features.
def get_provider_info():
return {
"package-name": "airflow-provider-kaggle", # Required
"name": "Kaggle", # Required
"description": "A airflow provider for Kaggle API", # Required
"package-name": "airflow-provider-kaggle",
"name": "Kaggle",
"description": "A airflow provider for Kaggle API",
"connection-types": [
{
"connection-type": "kaggle",
"hook-class-name": "kaggle_provider.hooks.kaggle.KaggleHook",
}
],
"extra-links": [],
"versions": [__version__], # Required
"versions": [__version__],
}
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ description = "A Kaggle Apache Airflow provider package."
classifiers = [
"Framework :: Apache Airflow",
"Framework :: Apache Airflow :: Provider",
"Development Status :: 3 - Alpha",
]
dynamic = ["version"]
requires-python = "~=3.8"
dependencies = ["apache-airflow>=2.0", "kaggle", "sh"]
dependencies = ["apache-airflow>=2.0", "kaggle>=1.5", "sh>=2.0"]

[project.optional-dependencies]
dev = ["pre-commit"]
Expand Down
Loading