Skip to content

Commit f4c163d

Browse files
committed
update versions and changelog to 7.x
1 parent 1afceba commit f4c163d

File tree

3 files changed

+34
-41
lines changed

3 files changed

+34
-41
lines changed

Changelog.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
Changelog
44
=========
55

6-
6.4.0 (dev)
6+
7.0.0 (dev)
77
-----------
88
* Removed deprecated option ``update_all_types``.
99
* Using insecure SSL configuration (``verify_cert=False``) raises a warning, this can
1010
be not showed with ``ssl_show_warn=False``
11-
11+
* Add support for 7.x api's in Elasticsearch both xpack and oss flavors
1212
6.3.0 (2018-06-20)
1313
-----------
1414

elasticsearch/__init__.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
#flake8: noqa
1+
# flake8: noqa
22
from __future__ import absolute_import
33

4-
VERSION = (6, 3, 1)
4+
VERSION = (7, 0, 0)
55
__version__ = VERSION
6-
__versionstr__ = '.'.join(map(str, VERSION))
6+
__versionstr__ = ".".join(map(str, VERSION))
77

88
import logging
9+
910
try: # Python 2.7+
1011
from logging import NullHandler
1112
except ImportError:
13+
1214
class NullHandler(logging.Handler):
1315
def emit(self, record):
1416
pass
1517

18+
1619
import sys
1720

18-
logger = logging.getLogger('elasticsearch')
21+
logger = logging.getLogger("elasticsearch")
1922
logger.addHandler(logging.NullHandler())
2023

2124
from .client import Elasticsearch
2225
from .transport import Transport
23-
from .connection_pool import ConnectionPool, ConnectionSelector, \
24-
RoundRobinSelector
26+
from .connection_pool import ConnectionPool, ConnectionSelector, RoundRobinSelector
2527
from .serializer import JSONSerializer
26-
from .connection import Connection, RequestsHttpConnection, \
27-
Urllib3HttpConnection
28+
from .connection import Connection, RequestsHttpConnection, Urllib3HttpConnection
2829
from .exceptions import *
29-

setup.py

Lines changed: 23 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,39 @@
33
from setuptools import setup, find_packages
44
import sys
55

6-
VERSION = (6, 3, 1)
6+
VERSION = (7, 0, 0)
77
__version__ = VERSION
8-
__versionstr__ = '.'.join(map(str, VERSION))
8+
__versionstr__ = ".".join(map(str, VERSION))
99

10-
f = open(join(dirname(__file__), 'README'))
10+
f = open(join(dirname(__file__), "README"))
1111
long_description = f.read().strip()
1212
f.close()
1313

14-
install_requires = [
15-
'urllib3>=1.21.1',
16-
]
14+
install_requires = ["urllib3>=1.21.1"]
1715
tests_require = [
18-
'requests>=2.0.0, <3.0.0',
19-
'nose',
20-
'coverage',
21-
'mock',
22-
'pyaml',
23-
'nosexcover'
16+
"requests>=2.0.0, <3.0.0",
17+
"nose",
18+
"coverage",
19+
"mock",
20+
"pyaml",
21+
"nosexcover",
2422
]
2523

2624
# use external unittest for 2.6
2725
if sys.version_info[:2] == (2, 6):
28-
install_requires.append('unittest2')
26+
install_requires.append("unittest2")
2927

3028
setup(
31-
name = 'elasticsearch',
32-
description = "Python client for Elasticsearch",
29+
name="elasticsearch",
30+
description="Python client for Elasticsearch",
3331
license="Apache License, Version 2.0",
34-
url = "https://github.com/elastic/elasticsearch-py",
35-
long_description = long_description,
36-
version = __versionstr__,
37-
author = "Honza Král, Nick Lang",
38-
author_email = "honza.kral@gmail.com, nick@nicklang.com",
39-
packages=find_packages(
40-
where='.',
41-
exclude=('test_elasticsearch*', )
42-
),
43-
classifiers = [
32+
url="https://github.com/elastic/elasticsearch-py",
33+
long_description=long_description,
34+
version=__versionstr__,
35+
author="Honza Král, Nick Lang",
36+
author_email="honza.kral@gmail.com, nick@nicklang.com",
37+
packages=find_packages(where=".", exclude=("test_elasticsearch*",)),
38+
classifiers=[
4439
"Development Status :: 5 - Production/Stable",
4540
"License :: OSI Approved :: Apache Software License",
4641
"Intended Audience :: Developers",
@@ -59,12 +54,10 @@
5954
"Programming Language :: Python :: Implementation :: PyPy",
6055
],
6156
install_requires=install_requires,
62-
63-
test_suite='test_elasticsearch.run_tests.run_all',
57+
test_suite="test_elasticsearch.run_tests.run_all",
6458
tests_require=tests_require,
65-
6659
extras_require={
67-
'develop': tests_require + ["sphinx<1.7", "sphinx_rtd_theme"],
68-
'requests': ['requests>=2.4.0, <3.0.0']
60+
"develop": tests_require + ["sphinx<1.7", "sphinx_rtd_theme"],
61+
"requests": ["requests>=2.4.0, <3.0.0"],
6962
},
7063
)

0 commit comments

Comments
 (0)