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

21 Test infrastructure #24

Merged
merged 82 commits into from
Nov 30, 2018
Merged

21 Test infrastructure #24

merged 82 commits into from
Nov 30, 2018

Conversation

altendky
Copy link
Member

@altendky altendky commented Sep 11, 2018

#21

WIP for:

@altendky
Copy link
Member Author

#21

@altendky
Copy link
Member Author

@codecov-io
Copy link

codecov-io commented Sep 26, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@11575e8). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #24   +/-   ##
=========================================
  Coverage          ?   30.33%           
=========================================
  Files             ?        4           
  Lines             ?      211           
  Branches          ?       25           
=========================================
  Hits              ?       64           
  Misses            ?      146           
  Partials          ?        1
Impacted Files Coverage Δ
src/qt5reactor/core.py 25% <ø> (ø)
src/qt5reactor/_version.py 100% <100%> (ø)
src/qt5reactor/tests/test_core.py 100% <100%> (ø)
src/qt5reactor/__init__.py 100% <100%> (ø)

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 11575e8...b9fddb9. Read the comment docs.

@altendky altendky changed the title 21 [WIP] tests 21 [WIP] Test infrastructure Sep 26, 2018
Copy link
Member

@sunu sunu left a comment

Choose a reason for hiding this comment

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

This is mostly a side note than a review. I'm curious what do you think about using something like bumpversion to manage versioning instead of versioneer. I'm slightly uncomfortable with how we are including large chunks of unrelated code that mostly deals with versioning with the actual source code.

@altendky
Copy link
Member Author

altendky commented Nov 1, 2018

@sunu, I just opened #28 for the versioning discussion.

@altendky
Copy link
Member Author

altendky commented Nov 1, 2018

@sunu, ok, so I totally forgot I had even put Versioneer in here... so yeah, this conversation should have stayed here. Sorry. I"ll close #28 and post my response here.

@altendky
Copy link
Member Author

altendky commented Nov 1, 2018

I've been happy wherever I've used Versioneer. I used vcversioner, then tried setuptools_scm and was disappointed, then Versioneer and was happy again. I personally find version numbers in revision controlled source code to be wrong. Wrong both in the 'wrong approach' sense and in the 'then the vast majority of commits are incorrectly identified' sense. Unless you are really careful to bump/release/bump which just seems annoying and you still lose the per-commit identification. I can't say I 'like' the idea of having lots of versioning code in the repo... but in comparison to my other interests that is irrelevant. I believe it is possible to use Versioneer as a setup_requires though explanations I've heard of that mechanism sounds messy (bypassing pip etc).

So, sure, it seems a bit silly to have Versioneer embedded, but it provides the functionality I want and other things don't. But sure, lots of people have lots of preferences for various reasons.

Honestly, my biggest complaint isn't about Versioneer at all. Rather, PEP 440 provides no mechanism intended to describe arbitrary post-release development. So, I've been abusing the .post scheme.

@altendky altendky closed this Nov 1, 2018
@altendky altendky reopened this Nov 1, 2018
@altendky
Copy link
Member Author

@sunu, @crwood, up for a review? There's always stuff to fix and tidy but it's significantly here and I can open a ticket for the Windows coverage reporting.

Copy link
Collaborator

@crwood crwood left a comment

Choose a reason for hiding this comment

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

Barring my own unfamiliarity with Circle-CI (and my very minor comments re. version-pins below) this looks good to me; I'd be happy to merge -- pending any further comments or objections from @sunu, of course :)

requirements.test.txt Outdated Show resolved Hide resolved
requirements.test.txt Outdated Show resolved Hide resolved
@altendky altendky changed the title 21 [WIP] Test infrastructure 21 Test infrastructure Nov 30, 2018
@altendky
Copy link
Member Author

To summarize, I'm proposing accepting this and creating tickets for consideration and potential resolution of the remaining items in the WIP list. AppVeyor coverage reporting and some helper for the pinned deps.

@crwood
Copy link
Collaborator

crwood commented Nov 30, 2018

That all sounds good to me. And if @sunu has any further comments, considerations, or objections in the meantime, we can address those in other tickets as well.

Gonna go ahead and merge -- thanks again, Kyle, for all of your hard work on this (and welcome aboard as a maintainer)! :)

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.

4 participants