Skip to content
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

(18.31.0) python 3 compatibility / drop python 2.6 support #42

Merged
merged 1 commit into from
Jun 19, 2018
Merged

(18.31.0) python 3 compatibility / drop python 2.6 support #42

merged 1 commit into from
Jun 19, 2018

Conversation

mayn
Copy link
Contributor

@mayn mayn commented May 1, 2018

No description provided.

@coveralls
Copy link

coveralls commented May 1, 2018

Coverage Status

Coverage decreased (-0.01%) to 96.98% when pulling b9b870d on mayn:python-upgrade into 9b0a4a2 on dandb:master.

@@ -4,8 +4,8 @@
import argparse
from sys import exit, argv
from time import sleep, time
from AWSConn import AWSConn
from set_logging import SetLogging
from .AWSConn import AWSConn
Copy link
Contributor

Choose a reason for hiding this comment

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

Had a problem with running relative imports in python 2.6. This needs to be tested.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you are correct, this was an issue initially.
I had to install pkg via pip to resolve vs git clone + execute py directly

setup.py Outdated
@@ -16,11 +16,13 @@
tests_require = [
"mock",
"boto",
"moto",
"moto==1.0.1",
"PyYaml",
Copy link
Contributor

Choose a reason for hiding this comment

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

moto has some problem with versions past 1.0.1?

Copy link
Contributor Author

@mayn mayn May 7, 2018

Choose a reason for hiding this comment

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

yeah, doesn't run on python2.6. this was the version of moto on the last successful run on travisci

tox.ini Outdated
commands=
{envbindir}/coverage run \
-m pytest --basetemp={envtmpdir} {posargs}
{envbindir}/coverage html -d {toxinidir}/htmlcov/{envname}
Copy link
Contributor

Choose a reason for hiding this comment

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

do you want coverage erase for appveyor?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no, was left over from copy

tox.ini Outdated
skip_missing_interpreters = True

[testenv]
usedevelop = true
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we want usedevelop? This would get us the development branches of our pip dependencies. also true ==True?

@mayn mayn changed the title python 3 compatibility / add tox / pytest runner (WIP) python 3 compatibility / add tox / pytest runner Jun 6, 2018
@mayn mayn changed the title (WIP) python 3 compatibility / add tox / pytest runner (WIP) python 3 compatibility / drop python 2.6 support Jun 14, 2018
@mayn mayn changed the title (WIP) python 3 compatibility / drop python 2.6 support (18.30.0) python 3 compatibility / drop python 2.6 support Jun 14, 2018
@mayn mayn changed the title (18.30.0) python 3 compatibility / drop python 2.6 support (18.31.0) python 3 compatibility / drop python 2.6 support Jun 19, 2018
@mayn mayn merged commit b1c5d95 into dandb:master Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants