GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: fix Python unittests by cclauss · Pull Request #1961 · nodejs/node-gyp

Conversation

@cclauss

@cclauss cclauss commented Nov 8, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Add pytest to our Travis CI jobs to run 27 Python tests.

Checklist
  • npm install && npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cclauss added 2 commits November 8, 2019 22:56
@cclauss
test: fix Python unittests
e229ea6
@cclauss
fixup! upgrade pytest, allow longer diffs
c6fc915
@cclauss
cclauss requested review from addaleax, bnoordhuis, gengjiawen, joaocgreis and richardlau November 9, 2019 06:52
@cclauss

cclauss commented Nov 9, 2019

Copy link
Copy Markdown
Contributor Author

@joaocgreis Can you please take a look at the failing Windows tests? A fix did not jump out at me.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bnoordhuis
bnoordhuis approved these changes Nov 9, 2019
View reviewed changes
Comment thread gyp/pylib/gyp/MSVSSettings_test.py
'GenerateManifest': 'true',
'IgnoreImportLibrary': 'true',
'LinkIncremental': 'false'}}
self.maxDiff = 9999 # on failure display a long diff

@bnoordhuis bnoordhuis Nov 9, 2019

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

self.maxDiff = None if you don't really want an upper limit?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@cclauss cclauss Nov 9, 2019

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Understood. These are reasonable limits for these test results.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@richardlau

richardlau commented Nov 13, 2019

Copy link
Copy Markdown
Member

@joaocgreis Can you please take a look at the failing Windows tests? A fix did not jump out at me.

I think part of the issue is that Travis has Visual Studio 2017 on Windows and the version of gyp in this repository doesn't detect that because we have the VS detection in JavaScript (see #1952 (comment)) outside of gyp.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joaocgreis
fixup! test: fix Python unittests
a136835
@joaocgreis

joaocgreis commented Nov 13, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

@cclauss pushed a fix for the issues on Windows.

There is still a failure with Python 3.5 that looks like a real issue.

cclauss reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joaocgreis

joaocgreis commented Nov 13, 2019

Copy link
Copy Markdown
Member

Travis had failed on my repo earlier, but passed on a new run. Possibly some caching issue or something that got fixed. I guess this is good then!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

joaocgreis
joaocgreis approved these changes Nov 13, 2019
View reviewed changes
rvagg pushed a commit that referenced this pull request Nov 18, 2019
@cclauss @rvagg
test: fix Python unittests
04da736
PR-URL: #1961
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: João Reis <[email protected]>
@rvagg

rvagg commented Nov 18, 2019

Copy link
Copy Markdown
Member

04da736

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg rvagg closed this Nov 18, 2019
rvagg pushed a commit that referenced this pull request Nov 18, 2019
@cclauss @rvagg
test: fix Python unittests
b7c8233
PR-URL: #1961
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: João Reis <[email protected]>
@rvagg rvagg mentioned this pull request Nov 18, 2019
Release proposal: [email protected] #1972
Closed
@cclauss
cclauss deleted the Python-tests branch November 18, 2019 04:20
@joaocgreis joaocgreis mentioned this pull request Dec 2, 2019
Travis CI: macOS does not include Python anymore #1979
Closed
1 task done
@rvagg rvagg mentioned this pull request Jan 3, 2020
[email protected] Release Proposal #2013
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@joaocgreis joaocgreis joaocgreis approved these changes
@bnoordhuis bnoordhuis bnoordhuis approved these changes
@addaleax addaleax Awaiting requested review from addaleax
@gengjiawen gengjiawen Awaiting requested review from gengjiawen
@richardlau richardlau Awaiting requested review from richardlau

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@cclauss @richardlau @joaocgreis @rvagg @bnoordhuis
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.