-
Notifications
You must be signed in to change notification settings - Fork 93
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
chore: Drop Python 3.7 support for kedro-plugins #392
Changes from 1 commit
220092f
92ff9eb
245c081
e375c28
0de26ee
6d76518
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Kedro-Datasets | ||
|
||
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | ||
[![Python Version](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue.svg)](https://pypi.org/project/kedro-datasets/) | ||
[![Python Version](https://img.shields.io/badge/python-3.8%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue.svg)](https://pypi.org/project/kedro-datasets/) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as for the airflow README |
||
[![PyPI Version](https://badge.fury.io/py/kedro-datasets.svg)](https://pypi.org/project/kedro-datasets/) | ||
[![Code Style: Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/ambv/black) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,8 +37,8 @@ def _collect_requirements(requires): | |
"pandas.HDFDataSet": [ | ||
PANDAS, | ||
"tables~=3.6.0; platform_system == 'Windows'", | ||
"tables~=3.6, <3.9; platform_system != 'Windows' and python_version<'3.9'", | ||
"tables~=3.6; platform_system != 'Windows' and python_version>='3.9'", | ||
"tables~=3.6, <3.9; platform_system != 'Windows' and and python_version>='3.8' and python_version<'3.9'", | ||
"tables~=3.6; platform_system != 'Windows' and and python_version>='3.8' and python_version<'3.9'", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like something went wrong here with a merge perhaps? |
||
], | ||
"pandas.JSONDataSet": [PANDAS], | ||
"pandas.ParquetDataSet": [PANDAS, "pyarrow>=6.0"], | ||
|
@@ -146,7 +146,6 @@ def _collect_requirements(requires): | |
"Jinja2<3.1.0", | ||
] | ||
extras_require["test"] = [ | ||
"adlfs>=2021.7.1, <=2022.2; python_version == '3.7'", | ||
"adlfs~=2023.1; python_version >= '3.8'", | ||
"bandit>=1.6.2, <2.0", | ||
"behave==1.2.6", | ||
|
@@ -158,11 +157,10 @@ def _collect_requirements(requires): | |
"coverage[toml]", | ||
"dask[complete]~=2021.10", # pinned by Snyk to avoid a vulnerability | ||
"delta-spark>=1.2.1; python_version >= '3.11'", # 1.2.0 has a bug that breaks some of our tests: https://github.com/delta-io/delta/issues/1070 | ||
"delta-spark~=1.2.1; python_version < '3.11'", | ||
"delta-spark~=1.2.1; python_version >= '3.8' and python_version < '3.11'", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The lower pin shouldn't be needed here. |
||
"deltalake>=0.10.0", | ||
"dill~=0.3.1", | ||
"filelock>=3.4.0, <4.0", | ||
"gcsfs>=2021.4, <=2023.1; python_version == '3.7'", | ||
"gcsfs>=2023.1, <2023.3; python_version >= '3.8'", | ||
"geopandas>=0.6.0, <1.0", | ||
"hdfs>=2.5.8, <3.0", | ||
|
@@ -174,26 +172,26 @@ def _collect_requirements(requires): | |
"jupyterlab~=3.0", | ||
"jupyter~=1.0", | ||
"lxml~=4.6", | ||
"matplotlib>=3.0.3, <3.4; python_version < '3.10'", # 3.4.0 breaks holoviews | ||
"matplotlib>=3.0.3, <3.4; python_version >= '3.8' and python_version < '3.10'", # 3.4.0 breaks holoviews | ||
"matplotlib>=3.5, <3.6; python_version >= '3.10'", | ||
"memory_profiler>=0.50.0, <1.0", | ||
"moto==1.3.7; python_version < '3.10'", | ||
"moto==1.3.7; python_version>= '3.8' and python_version < '3.10'", | ||
"moto==4.1.12; python_version >= '3.10'", | ||
"networkx~=2.4", | ||
"opencv-python~=4.5.5.64", | ||
"openpyxl>=3.0.3, <4.0", | ||
"pandas-gbq>=0.12.0, <0.18.0; python_version < '3.11'", | ||
"pandas-gbq>=0.12.0, <0.18.0; python_version>= '3.8' and python_version < '3.11'", | ||
"pandas-gbq>=0.18.0; python_version >= '3.11'", | ||
"pandas~=1.3 # 1.3 for read_xml/to_xml", | ||
"Pillow~=9.0", | ||
"plotly>=4.8.0, <6.0", | ||
"polars[xlsx2csv, deltalake]~=0.18.0", | ||
"pre-commit>=2.9.2", | ||
"pyarrow>=1.0; python_version < '3.11'", | ||
"pyarrow>=1.0; python_version >= '3.8' and python_version < '3.11'", | ||
"pyarrow>=7.0; python_version >= '3.11'", # Adding to avoid numpy build errors | ||
"pyodbc~=4.0.35", | ||
"pyproj~=3.0", | ||
"pyspark>=2.2, <3.4; python_version < '3.11'", | ||
"pyspark>=2.2, <3.4; python_version >= '3.8' and python_version < '3.11'", | ||
"pyspark>=3.4; python_version >= '3.11'", | ||
"pytest-cov~=3.0", | ||
"pytest-mock>=1.7.1, <2.0", | ||
|
@@ -209,9 +207,8 @@ def _collect_requirements(requires): | |
"scipy>=1.7.3", | ||
"packaging", | ||
"SQLAlchemy~=1.2", | ||
"tables~=3.6.0; platform_system == 'Windows' and python_version<'3.8'", | ||
"tables~=3.8.0; platform_system == 'Windows' and python_version>='3.8'", # Import issues with python 3.8 with pytables pinning to 3.8.0 fixes this https://github.com/PyTables/PyTables/issues/933#issuecomment-1555917593 | ||
"tables~=3.6, <3.9; platform_system != 'Windows' and python_version<'3.9'", | ||
"tables~=3.6, <3.9; platform_system != 'Windows' and python_version >= '3.8' and python_version<'3.9'", | ||
"tables~=3.6; platform_system != 'Windows' and python_version>='3.9'", | ||
"tensorflow-macos~=2.0; platform_system == 'Darwin' and platform_machine == 'arm64'", | ||
"tensorflow~=2.0; platform_system != 'Darwin' or platform_machine != 'arm64'", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Kedro-Docker | ||
|
||
[![Python Version](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue.svg)](https://pypi.org/project/kedro-docker/) | ||
[![Python Version](https://img.shields.io/badge/python-3.8%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue.svg)](https://pypi.org/project/kedro-docker/) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same again as the other readme's |
||
[![PyPI version](https://badge.fury.io/py/kedro-docker.svg)](https://pypi.org/project/kedro-docker/) | ||
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | ||
[![Code Style: Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/ambv/black) | ||
|
@@ -77,7 +77,7 @@ Options: | |
* `--image` - optional Docker image tag. Defaults to the project directory name | ||
* `--docker-args` - optional string containing extra options for `docker build` command | ||
* `--with-spark` - optional flag to create an image additionally with Spark and Hadoop | ||
* `--base-image` - optional base Docker image. Default is Debian buster with the current environment Python version, e.g. `python:3.7-buster` | ||
* `--base-image` - optional base Docker image. Default is Debian buster with the current environment Python version, e.g. `python:3.8-buster` | ||
* `-h, --help` - show command help and exit. | ||
|
||
### Run your project in a Docker environment | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Kedro-Telemetry | ||
|
||
[![Python Version](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue.svg)](https://pypi.org/project/kedro-telemetry/) | ||
[![Python Version](https://img.shields.io/badge/python-3.8%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue.svg)](https://pypi.org/project/kedro-telemetry/) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And here. |
||
[![PyPI version](https://badge.fury.io/py/kedro-telemetry.svg)](https://pypi.org/project/kedro-telemetry/) | ||
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | ||
[![Code Style: Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/ambv/black) | ||
|
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.
This now shows 3.8 twice and is missing 3.11