Coder Social home page Coder Social logo

Comments (3)

featdd avatar featdd commented on July 23, 2024

Hi @paulilea,

I couldn't really reproduce this.
I'm using PHP 8.2.7 with composer 2.5.8 and could install the extension from packagist.

The require entry in my composer.json "mindshape/mindshape-cookie-consent": "~3.0".

For my understanding both expressions are valid and mean the same, so the extension should be installable with PHP 8.0.x | 8.1.x | 8.2.x

Can you please check your composer output again or paste some debug information for me!?

Greetings
Daniel

from mindshape_cookie_consent.

paulilea avatar paulilea commented on July 23, 2024

Hi @featdd,

This is the output from composer:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires mindshape/mindshape-cookie-consent ~3.0 -> satisfiable by mindshape/mindshape-cookie-consent[v3.0.0].
    - mindshape/mindshape-cookie-consent v3.0.0 requires php ~8.0 <=8.2 -> your php version (8.2.7) does not satisfy that requirement.

So it seems that '<=8.2' is evaluted to '<=8.2.0'.

It can be prevented by adding something like this to my composer.json:

"config": {
  "platform": {
    "php": "8.2"
  }
}

But, in general, I don't want to do this because it can affect the other dependencies of the project.

from mindshape_cookie_consent.

featdd avatar featdd commented on July 23, 2024

Hi @paulilea,

Ah thats why it worked for me, fixed this here: 2672b1f
Update is on its way.

Greetings
Daniel

from mindshape_cookie_consent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.