Problem/Motivation

Today, I tried to update all modules/libraries for a site running on PHP 7.0 and it failed because as of today the package "nicebooks/isbn" requires PHP 7.1. Because I cannot upgrade to PHP 7.1 yet, updating modules/libraries failed:

nicebooks/isbn dev-master requires php >=7.1 -> your PHP version (7.0.14) does not satisfy that requirement.

Proposed resolution

This issue can be fixed by requiring a tagged release instead of a branch as explained on https://stackoverflow.com/questions/30235449/exclude-a-package-from-upda....
I propose to require ~0.0. This way for sites running on PHP 7.0 version 0.1 of the library can get installed.

Patch will follow.

Comments

MegaChriz created an issue. See original summary.

megachriz’s picture

Assigned: megachriz » Unassigned
Status: Active » Needs review
StatusFileSize
new301 bytes

  • rfsbsb committed 278f77c on 8.x-1.x authored by MegaChriz
    Issue #2976732 by MegaChriz: Require tagged version of nicebooks/isbn
    
rfsbsb’s picture

Status: Needs review » Fixed

Hi @MegaChriz thanks for the report and the patch.

Patch accepted and merged.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.