Skip to content

Commit

Permalink
Rollback changes introduced in #1122
Browse files Browse the repository at this point in the history
They were causing issues with older versions of Python, which need to be supported still, for a while.

Also remove before_install block from .travis.yml

Prep 5.5.1 release with these small fixes

fixes #1183
  • Loading branch information
untergeek committed Mar 22, 2018
1 parent 538d877 commit d1a603b
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 34 deletions.
38 changes: 22 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
.*.swp
*~
*.egg
*.py[co]
*~
.*.swp
.DS_Store
.coverage
.eggs
.idea
Elastic.ico
Vagrant/centos/6/.vagrant
Vagrant/centos/7/.vagrant
Vagrant/ubuntu/14.04/.vagrant
build
cacert.pem
cover
coverage.xml
dist
scratch
docs/_build
*.egg
.eggs
docs/asciidoc/html_docs
elasticsearch_curator.egg-info
elasticsearch_curator_dev.egg-info
.coverage
.idea
coverage.xml
nosetests.xml
index.html
docs/asciidoc/html_docs
wheelhouse
Elastic.ico
vcruntime140.dll
msi_guid.txt
Vagrant/centos/6/.vagrant
Vagrant/centos/7/.vagrant
Vagrant/ubuntu/14.04/.vagrant
nosetests.xml
samples
scratch
test/.DS_Store
vcruntime140.dll
wheelhouse
windows
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ cache:
jdk:
- oraclejdk8

before_install:
- cp requirements.txt ..
- cd ..
- pip install -r requirements.txt
- cd -

install:
- pip install -U setuptools
- pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion curator/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '5.5.0'
__version__ = '5.5.1'

5 changes: 5 additions & 0 deletions docs/Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Changelog
=========

5.5.1 (22 March 2018)

**Bug Fixes**

* Fix ``pip`` installation issues for older versions of Python #1183 (untergeek)

5.5.0 (21 March 2018)
---------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/asciidoc/index.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:curator_version: 5.5.0
:curator_version: 5.5.1
:curator_major: 5
:curator_doc_tree: 5.5
:es_py_version: 5.5.2
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
voluptuous>=0.9.3
urllib3>=1.20
elasticsearch==5.5.2
click>=6.7
pyyaml>=3.10
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ classifiers =
[options]
install_requires =
voluptuous>=0.9.3
urllib3>=1.20
elasticsearch==5.5.2
click>=6.7
pyyaml>=3.10
Expand Down
45 changes: 37 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@ def get_version():
return VERSION

def get_install_requires():
return [
'voluptuous>=0.9.3',
'urllib3>=1.20',
'elasticsearch==5.5.2',
'click>=6.7',
'pyyaml>=3.10',
'certifi>=2018.1.18',
]
res = ['elasticsearch==5.5.2' ]
res.append('click>=6.7')
res.append('pyyaml>=3.10')
res.append('voluptuous>=0.9.3')
res.append('certifi>=2018.1.18')
return res

try:
### cx_Freeze ###
Expand Down Expand Up @@ -137,5 +135,36 @@ def get_install_requires():
### end cx_Freeze ###
except ImportError:
setup(
name = "elasticsearch-curator",
version = get_version(),
author = "Elastic",
author_email = "info@elastic.co",
description = "Tending your Elasticsearch indices",
long_description=fread('README.rst'),
url = "http://github.com/elastic/curator",
download_url = "https://github.com/elastic/curator/tarball/v" + get_version(),
license = "Apache License, Version 2.0",
install_requires = get_install_requires(),
keywords = "elasticsearch time-series indexed index-expiry",
packages = ["curator"],
include_package_data=True,
entry_points = {
"console_scripts" : [
"curator = curator.cli:cli",
"curator_cli = curator.curator_cli:main",
"es_repo_mgr = curator.repomgrcli:repo_mgr_cli",
]
},
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
test_suite = "test.run_tests.run_all",
tests_require = ["mock", "nose", "coverage", "nosexcover"]
)

0 comments on commit d1a603b

Please sign in to comment.