Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Conversation

blueyed
Copy link
Collaborator

@blueyed blueyed commented Sep 21, 2018

Fixes #114.

@blueyed blueyed force-pushed the make_envconfig-tox-3.4 branch from f84cca3 to f96506c Compare September 21, 2018 13:50
@codecov-io
Copy link

codecov-io commented Sep 21, 2018

Codecov Report

Merging #115 into master will decrease coverage by 0.78%.
The diff coverage is 87.5%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #115      +/-   ##
=========================================
- Coverage   88.99%   88.2%   -0.79%     
=========================================
  Files           5       5              
  Lines         209     212       +3     
  Branches       48      48              
=========================================
+ Hits          186     187       +1     
- Misses         19      21       +2     
  Partials        4       4
Impacted Files Coverage Δ
src/tox_travis/envlist.py 92.68% <87.5%> (-2.26%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee6980c...f96506c. Read the comment docs.

@blueyed
Copy link
Collaborator Author

blueyed commented Sep 21, 2018

py26 generates no coverage: https://travis-ci.org/tox-dev/tox-travis/jobs/431508099#L589, but proves that it works with tox < 3.4.0.

for env in envs:
try:
make_envconfig = tox.config.ParseIni.make_envconfig # tox 3.4.0+
except AttributeError:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since the try/except is what's making codecov complain, what do you think about just doing things the way of the latest version of tox, since that's what's going to be installed? Or does that not work with Python 2.6? If the latest version of tox doesn't work with Python 2.6, then I'm actually inclined to drop support for Python 2.6 in this library, rather than keep it around and worry about backward compatibility with an old version of tox. I don't think it buys us anything to keep backward compatible with old versions of tox.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Or does that not work with Python 2.6?

Yes.

I agree with dropping it.

But I also think that we can assume that the code is hit via py26 currently, although coverage reporting does not work (appears to be a problem with coverage/coverage_pth, not codecov), but not worth investigating.

As for a new release I think it's better to not necessarily require an updated tox also etc - does not really seem necessary, but it is your call.

@ryanhiebert ryanhiebert merged commit 598ed34 into tox-dev:master Sep 21, 2018
ryanhiebert added a commit that referenced this pull request Sep 21, 2018
* Drop support for Python 3.2 and 3.3 (#113).
* Fix autogen_configs for tox 3.4.0 (#115).
* Various documentation fixes.
@blueyed blueyed deleted the make_envconfig-tox-3.4 branch September 21, 2018 17:39
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