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

Update pexpect to 4.4.0 #3

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

There's a new version of pexpect available.
You are currently using 4.3.1. I have updated it to 4.4.0

These links might come in handy: PyPI | Changelog | Docs

Changelog

4.4

  • :class:~.PopenSpawn now has a preexec_fn parameter, like :class:~.spawn
    and :class:subprocess.Popen, for a function to be called in the child
    process before executing the new command. Like in Popen, this works only
    in POSIX, and can cause issues if your application also uses threads
    (:ghpull:460).
  • Significant performance improvements when processing large amounts of data
    (:ghpull:464).
  • Ensure that spawn.closed gets set by :meth:~.spawn.close, and improve
    an example for passing SIGWINCH through to a child process (:ghpull:466).

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

@codecov
Copy link

codecov bot commented Feb 16, 2018

Codecov Report

Merging #3 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #3   +/-   ##
=======================================
  Coverage   51.13%   51.13%           
=======================================
  Files          89       89           
  Lines        5004     5004           
=======================================
  Hits         2559     2559           
  Misses       2445     2445

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 17dd6e8...f1470b1. Read the comment docs.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 51.139% when pulling f1470b1 on pyup-update-pexpect-4.3.1-to-4.4.0 into 17dd6e8 on master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 51.139% when pulling f1470b1 on pyup-update-pexpect-4.3.1-to-4.4.0 into 17dd6e8 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 51.139% when pulling f1470b1 on pyup-update-pexpect-4.3.1-to-4.4.0 into 17dd6e8 on master.

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #26

@pyup-bot pyup-bot closed this Apr 13, 2018
@jluebbe jluebbe deleted the pyup-update-pexpect-4.3.1-to-4.4.0 branch April 13, 2018 19:10
jluebbe pushed a commit that referenced this pull request Mar 21, 2024
The docker docs contain [1] these COPY forms:

  COPY [--chown=<user>:<group>] [--chmod=<perms>] <src>... <dest>
  COPY [--chown=<user>:<group>] [--chmod=<perms>] ["<src>",... "<dest>"]

Arguments within [ ] are optional. The square brackets are not meant to
be part of the actual instruction.

The docker docs [1] mention that "[e]ach <src> may contain wildcards and
matching will be done using Go’s filepath.Match rules". Go’s
filepath.Match [2] interprets terms in square brackets as a character
class. "[--chown=root:root]" must have been interpreted as a valid
character class until recently. A couple of days ago, building the "dut"
service started failing:

  Building dut
  #0 building with "default" instance using docker driver

  #1 [internal] load build definition from Dockerfile
  #1 transferring dockerfile: 924B done
  #1 DONE 0.0s

  #2 [internal] load .dockerignore
  #2 transferring context: 2B done
  #2 DONE 0.0s

  #3 [internal] load metadata for docker.io/library/debian:bookworm-slim
  #3 DONE 0.1s

  #4 [1/4] FROM docker.io/library/debian:bookworm-slim@sha256:89468107e4c2b9fdea2f15fc582bf92c25aa4296a661ca0202f7ea2f4fc3f48c
  #4 CACHED

  #5 [internal] load build context
  #5 transferring context: 56B done
  #5 ERROR: error from sender: invalid includepatterns: []: syntax error in pattern

Fix this by dropping the accidental square brackets around the --chown
option.

[1] https://docs.docker.com/engine/reference/builder/#copy
[2] https://pkg.go.dev/path/filepath#Match

Signed-off-by: Bastian Krause <bst@pengutronix.de>
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.

2 participants