Update supported versions of Python, pandas, and Elasticsearch

This commit is contained in:
Seth Michael Larson 2021-08-04 13:21:17 -05:00 committed by GitHub
parent 823f01cc6c
commit 54b497ed9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 12 deletions

View File

@ -3,6 +3,7 @@
ELASTICSEARCH_VERSION: ELASTICSEARCH_VERSION:
- 8.0.0-SNAPSHOT - 8.0.0-SNAPSHOT
- 7.x-SNAPSHOT - 7.x-SNAPSHOT
- 7.14-SNAPSHOT
PANDAS_VERSION: PANDAS_VERSION:
- 1.2.0 - 1.2.0

View File

@ -49,8 +49,8 @@ $ conda install -c conda-forge eland
### Supported Versions ### Supported Versions
- Supports Python 3.6+ and Pandas 1.0.0+ - Supports Python 3.7+ and Pandas 1.3
- Supports Elasticsearch clusters that are 7.x+, recommended 7.6 or later for all features to work. - Supports Elasticsearch clusters that are 7.x+, recommended 7.14 or later for all features to work.
### Connecting to Elasticsearch ### Connecting to Elasticsearch

View File

@ -8,8 +8,8 @@ Source code is available on https://github.com/elastic/eland[GitHub].
[discrete] [discrete]
=== Compatibility === Compatibility
The library is compatible with Python 3.6 and later and all The library is compatible with Python 3.7 and later and all
{es} versions since `7.6.x` but you **have to use a matching major version**: {es} versions since 7.14 but you **should use a matching major version**:
The recommended way to set your requirements in your `setup.py` or The recommended way to set your requirements in your `setup.py` or
`requirements.txt` is:: `requirements.txt` is::
@ -17,13 +17,6 @@ The recommended way to set your requirements in your `setup.py` or
# Elasticsearch 7.x # Elasticsearch 7.x
eland>=7,<8 eland>=7,<8
Because Eland uses some experimental APIs for {ml} it
is also recommended to install the same major and minor for `elasticsearch-py`
as your cluster. For example if your cluster is v7.8.1 you would install
like so::
$ python -m pip install 'eland>=7,<8' 'elasticsearch>=7.8,<7.9'
[discrete] [discrete]
=== Getting Started === Getting Started

View File

@ -70,7 +70,12 @@ setup(
classifiers=CLASSIFIERS, classifiers=CLASSIFIERS,
keywords="elastic eland pandas python", keywords="elastic eland pandas python",
packages=find_packages(include=["eland", "eland.*"]), packages=find_packages(include=["eland", "eland.*"]),
install_requires=["elasticsearch>=7.13", "pandas>=1.2,<1.4", "matplotlib", "numpy"], install_requires=[
"elasticsearch>=7.14,<8",
"pandas>=1.2,<1.4",
"matplotlib",
"numpy",
],
python_requires=">=3.7", python_requires=">=3.7",
package_data={"eland": ["py.typed"]}, package_data={"eland": ["py.typed"]},
include_package_data=True, include_package_data=True,