Opened 3 years ago

Closed 3 years ago

#62568 closed defect (fixed)

http-prompt @2.1.0 ModuleNotFoundError: No module named 'yaml'

Reported by: chadcatlett (Chad Catlett) Owned by: lbschenkel (Leonardo Brondani Schenkel)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: tsabirgaliev (Tair Sabirgaliev)
Port: http-prompt

Description

After upgrading all ports, I noticed that http-prompt started throwing an exception.

With the upgrade to http-prompt 2.1.0 comes the need to have the Portfile depend on py{ver}-yaml.

Change History (5)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Cc: lbschenkel removed
Owner: set to lbschenkel
Status: newassigned

comment:2 Changed 3 years ago by tsabirgaliev (Tair Sabirgaliev)

@lbshenkel I can look into this.

@chadcatlett, any instructions to reproduce, please?

comment:3 in reply to:  2 ; Changed 3 years ago by lbschenkel (Leonardo Brondani Schenkel)

Replying to tsabirgaliev:

@lbshenkel I can look into this.

@chadcatlett, any instructions to reproduce, please?

Trivially reproducible if you don't have py38-yaml installed. http-prompt depends on it but Portfile does not declare it. It is working on your machine since you have it installed.

Since you volunteered to fix it, can you submit a PR please?

comment:4 in reply to:  3 Changed 3 years ago by tsabirgaliev (Tair Sabirgaliev)

Replying to lbschenkel:

Replying to tsabirgaliev:

@lbshenkel I can look into this.

@chadcatlett, any instructions to reproduce, please?

Trivially reproducible if you don't have py38-yaml installed. http-prompt depends on it but Portfile does not declare it. It is working on your machine since you have it installed.

Since you volunteered to fix it, can you submit a PR please?

Done

comment:5 Changed 3 years ago by tsabirgaliev (Tair Sabirgaliev)

Resolution: fixed
Status: assignedclosed

In cda27e2144817bff937124ce3dcad46aba653849/macports-ports (master):

http-prompt: add py{ver}-yaml dependency

Closes: #62568

Note: See TracTickets for help on using tickets.