Skip to content

Commit

Permalink
Narrow dependencies' versions (#5)
Browse files Browse the repository at this point in the history
* narrow versions

* narrow versions
  • Loading branch information
sp1thas authored Nov 27, 2023
1 parent 356c8d6 commit 0df0d5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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

0 comments on commit 0df0d5a

Please sign in to comment.