Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

Fix Python 2.7 CentOS issue by requiring argparse only in Py2.6#19

Closed
avengerpenguin wants to merge 6 commits intoosiegmar:masterfrom
avengerpenguin:master
Closed

Fix Python 2.7 CentOS issue by requiring argparse only in Py2.6#19
avengerpenguin wants to merge 6 commits intoosiegmar:masterfrom
avengerpenguin:master

Conversation

@avengerpenguin
Copy link
Copy Markdown
Contributor

@avengerpenguin avengerpenguin commented Apr 3, 2018

See my comments in #9

avengerpenguin and others added 4 commits September 8, 2015 20:50
Implemented Load Average metric collection.
Fix Python 2.7 CentOS issue by requiring argparse only in Py2.6
Comment thread setup.py Outdated
requires = ['boto>=2.33.0',]


if sys.version_info == (2, 6):
Copy link
Copy Markdown

@lalkhum lalkhum Apr 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 18 should rather be sys.version_info[:2] == (2,6).

Comment thread setup.py
requires = ['boto>=2.33.0',]


if sys.version_info[:2] == (2, 6):
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for my late response, I weren't notified via email for this PR.

I doubt this is enough as this is probably also required for Python < 2.7 and < 3.2.

@osiegmar
Copy link
Copy Markdown
Owner

archiving this repository now

@osiegmar osiegmar closed this Apr 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants