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

DT-1166: Drupal Check Incompatibility w/ CI (TTY error on Pipelines) #3996

Closed
mikemadison13 opened this issue Jan 30, 2020 · 5 comments · Fixed by #4001
Closed

DT-1166: Drupal Check Incompatibility w/ CI (TTY error on Pipelines) #3996

mikemadison13 opened this issue Jan 30, 2020 · 5 comments · Fixed by #4001
Labels
11.x Affects or applies to 11.x _Docs Updates docs, requires DOC ticket

Comments

@mikemadison13
Copy link
Contributor

mikemadison13 commented Jan 30, 2020

The newest version of drupal-check introduces a new slew of build failures related to TTY output. I have bugged this on the drupal-check side (and it's related to upstream changes in phpstan).

The output caused by this failure is:

In Process.php line 1037:
                                                   
  TTY mode requires /dev/tty to be read/writable. 

For the interim, I recommend pinning:

"mglaman/drupal-check": "1.0.14"

See mglaman/drupal-check#131

@mikemadison13 mikemadison13 added Bug Something isn't working _Docs Updates docs, requires DOC ticket 10.x 11.x Affects or applies to 11.x and removed Bug Something isn't working labels Jan 30, 2020
@danepowell danepowell changed the title Drupal Check Incompatibility w/ CI DT-1166: Drupal Check Incompatibility w/ CI Jan 31, 2020
@danepowell danepowell added this to the Backlog milestone Jan 31, 2020
@danepowell
Copy link
Contributor

danepowell commented Feb 4, 2020

I think BLT should exclude the broken drupal-check version from the version constraint in composer.json as part of the next release (Wednesday). Unfortunately we can't fix the upstream issue on our own.

Something like (I haven't tested this yet):
"mglaman/drupal-check": ">=1.0.10 <1.1.0 || ^1.0.1",

@danepowell
Copy link
Contributor

Actually didn't mglaman cause us grief due to an unexpected breaking change a few months back as well? Maybe we should just cap the version constraint and not allow updates until we've tested new releases internally. I'm not sure how the burden of bug reports for future breaking changes weighs against support requests from people who want the latest version now.

@mikemadison13
Copy link
Contributor Author

yeah, we've had issues in the past. i like the idea of somehow blocking updates until we know things are stable.

@danepowell danepowell changed the title DT-1166: Drupal Check Incompatibility w/ CI DT-1166: Drupal Check Incompatibility w/ CI (TTY error on Pipelines) Feb 4, 2020
@hugovk
Copy link
Contributor

hugovk commented Mar 23, 2020

@danepowell
Copy link
Contributor

Have you tried using Composer version aliases? That's the normal workaround when you want to use a different version of a dependency pinned by an upstream package.

I'd rather not revert #4001 because of all the previous breaking changes in minor and patch releases. I want to keep it pinned for now. But we can investigate bumping to the newer version if it passes testing: #4072

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11.x Affects or applies to 11.x _Docs Updates docs, requires DOC ticket
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants