Skip to content

21 Test infrastructure#24

Merged
crwood merged 82 commits into
twisted:masterfrom
altendky:21-tests
Nov 30, 2018
Merged

21 Test infrastructure#24
crwood merged 82 commits into
twisted:masterfrom
altendky:21-tests

Conversation

@altendky

@altendky altendky commented Sep 11, 2018

Copy link
Copy Markdown
Member

#21

WIP for:

@altendky

Copy link
Copy Markdown
Member Author

#21

@codecov-io

codecov-io commented Sep 26, 2018

Copy link
Copy Markdown

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

@sunu sunu left a comment

Copy link
Copy Markdown
Member

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

altendky commented Nov 1, 2018

Copy link
Copy Markdown
Member Author

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

@altendky

altendky commented Nov 1, 2018

Copy link
Copy Markdown
Member Author

@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

altendky commented Nov 1, 2018

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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.

@crwood crwood left a comment

Copy link
Copy Markdown
Collaborator

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 :)

Comment thread requirements.test.txt Outdated
Comment thread requirements.test.txt Outdated
@altendky altendky changed the title 21 [WIP] Test infrastructure 21 Test infrastructure Nov 30, 2018
@altendky

Copy link
Copy Markdown
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

crwood commented Nov 30, 2018

Copy link
Copy Markdown
Collaborator

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