Parziphal / parse

Parse with an Eloquent-like interface for Laravel
MIT License
17 stars 13 forks source link

Incompatible with Laravel 5.4.6 #5

Closed nevaehph closed 7 years ago

nevaehph commented 7 years ago

Hi, I tried installing this package using the command: composer require parziphal/parse:dev-master and it gave me the following error:

./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for parziphal/parse dev-master -> satisfiable by parziphal/parse[dev-master].
    - parziphal/parse dev-master requires laravel/framework 5.2.*|5.3.* -> satisfiable by laravel/framework[5.2.41, 5.2.x-dev, 5.3.x-dev, v5.2.0, v5.2.0-beta1, v5.2.1, v5.2.10, v5.2.11, v5.2.12, v5.2.13, v5.2.14, v5.2.15, v5.2.16, v5.2.17, v5.2.18, v5.2.19, v5.2.2, v5.2.20, v5.2.21, v5.2.22, v5.2.23, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.29, v5.2.3, v5.2.30, v5.2.31, v5.2.32, v5.2.33, v5.2.34, v5.2.35, v5.2.36, v5.2.37, v5.2.38, v5.2.39, v5.2.4, v5.2.40, v5.2.42, v5.2.43, v5.2.44, v5.2.45, v5.2.5, v5.2.6, v5.2.7, v5.2.8, v5.2.9, v5.3.0, v5.3.0-RC1, v5.3.1, v5.3.10, v5.3.11, v5.3.12, v5.3.13, v5.3.14, v5.3.15, v5.3.16, v5.3.17, v5.3.18, v5.3.19, v5.3.2, v5.3.20, v5.3.21, v5.3.22, v5.3.23, v5.3.24, v5.3.25, v5.3.26, v5.3.27, v5.3.28, v5.3.29, v5.3.3, v5.3.30, v5.3.4, v5.3.5, v5.3.6, v5.3.7, v5.3.8, v5.3.9] but these conflict with your requirements or minimum-stability.

Installation failed, reverting ./composer.json to its original content.`

It may seem to be that it is incompatible with version 5.4. Would you be looking to making it compatible? Thank you.

Parziphal commented 7 years ago

Oh yes, I was testing this with 5.4 yesterday. I will push the changes later today (got job and some checks to do).

Parziphal commented 7 years ago

I've pushed the changes, tested with v5.4.15.

nevaehph commented 7 years ago

Hi thank you for the reply. I have tried once again and have met with another error. The error is as follows:

Problem 1
    - The requested package laravel/framework (locked at v5.4.6, required as 5.3.*) is satisfiable by laravel/framework[v5.4.6] but these conflict with your requirements or minimum-stability.
  Problem 2
    - Conclusion: don't install laravel/framework v5.3.30
    - Conclusion: don't install laravel/framework v5.3.29
    - Conclusion: don't install laravel/framework v5.3.28
    - Conclusion: don't install laravel/framework v5.3.27
    - Conclusion: don't install laravel/framework v5.3.26
    - Conclusion: don't install laravel/framework v5.3.25
    - Conclusion: don't install laravel/framework v5.3.24
    - Conclusion: don't install laravel/framework v5.3.23
    - Conclusion: don't install laravel/framework v5.3.22
    - Conclusion: don't install laravel/framework v5.3.21
    - Conclusion: don't install laravel/framework v5.3.20
    - Conclusion: don't install laravel/framework v5.3.19
    - Conclusion: don't install laravel/framework v5.3.18
    - Conclusion: don't install laravel/framework v5.3.17
    - Conclusion: don't install laravel/framework v5.3.16
    - Conclusion: don't install laravel/framework v5.3.15
    - Conclusion: don't install laravel/framework v5.3.14
    - Conclusion: don't install laravel/framework v5.3.13
    - Conclusion: don't install laravel/framework v5.3.12
    - Conclusion: don't install laravel/framework v5.3.11
    - Conclusion: don't install laravel/framework v5.3.10
    - Conclusion: don't install laravel/framework v5.3.9
    - Conclusion: don't install laravel/framework v5.3.8
    - Conclusion: don't install laravel/framework v5.3.7
    - Conclusion: don't install laravel/framework v5.3.6
    - Conclusion: don't install laravel/framework v5.3.5
    - Conclusion: don't install laravel/framework v5.3.4
    - Conclusion: don't install laravel/framework v5.3.3
    - Conclusion: don't install laravel/framework v5.3.2
    - parziphal/parse dev-master requires laravel/framework 5.2.*|5.3.*|5.4.* -> satisfiable by laravel/framework[v5.3.0, v5.3.1, v5.3.10, v5.3.11, v5.3.12, v5.3.13, v5.3.14, v5.3.15, v5.3.16, v5.3.17, v5.3.18, v5.3.19, v5.3.2, v5.3.20, v5.3.21, v5.3.22, v5.3.23, v5.3.24, v5.3.25, v5.3.26, v5.3.27, v5.3.28, v5.3.29, v5.3.3, v5.3.30, v5.3.4, v5.3.5, v5.3.6, v5.3.7, v5.3.8, v5.3.9].
    - Conclusion: don't install laravel/framework v5.3.1
    - Installation request for parziphal/parse dev-master -> satisfiable by parziphal/parse[dev-master].
    - Conclusion: remove nikic/php-parser v3.0.2
    - Installation request for symfony/console (locked at v3.2.2) -> satisfiable by symfony/console[v3.2.2].
    - Conclusion: don't install nikic/php-parser v3.0.2
    - laravel/framework v5.3.0 requires psy/psysh 0.7.* -> satisfiable by psy/psysh[v0.7.0, v0.7.1, v0.7.2].
    - psy/psysh v0.7.0 requires nikic/php-parser ^1.2.1|~2.0 -> satisfiable by nikic/php-parser[v1.2.1, v1.2.2, v1.3.0, v1.4.0, v1.4.1, v2.0.0, v2.0.1, v2.1.0, v2.1.1].
    - psy/psysh v0.7.1 requires nikic/php-parser ^1.2.1|~2.0 -> satisfiable by nikic/php-parser[v1.2.1, v1.2.2, v1.3.0, v1.4.0, v1.4.1, v2.0.0, v2.0.1, v2.1.0, v2.1.1].
    - psy/psysh v0.7.2 requires nikic/php-parser ^1.2.1|~2.0 -> satisfiable by nikic/php-parser[v1.2.1, v1.2.2, v1.3.0, v1.4.0, v1.4.1, v2.0.0, v2.0.1, v2.1.0, v2.1.1].
    - Can only install one of: nikic/php-parser[v1.3.0, v3.0.2].
    - Can only install one of: nikic/php-parser[v1.4.0, v3.0.2].
    - Can only install one of: nikic/php-parser[v1.4.1, v3.0.2].
    - Can only install one of: nikic/php-parser[v2.0.0, v3.0.2].
    - Can only install one of: nikic/php-parser[v2.0.1, v3.0.2].
    - Can only install one of: nikic/php-parser[v2.1.0, v3.0.2].
    - Can only install one of: nikic/php-parser[v2.1.1, v3.0.2].
    - Can only install one of: nikic/php-parser[v1.2.1, v3.0.2].
    - Can only install one of: nikic/php-parser[v1.2.2, v3.0.2].
    - Installation request for nikic/php-parser (locked at v3.0.2) -> satisfiable by nikic/php-parser[v3.0.2].

Installation failed, reverting ./composer.json to its original content.

Am I missing something that I should be doing for installation? Thank you for your help.

Parziphal commented 7 years ago

I've done some tests and the error is due to the repository not having a stable tag, so, as the error says, it confictled with your minimum stability (stable), so you had to require the package specifying you wanted the dev-master version, like this:

composer require parziphal/parse:dev-master

However I've just created a tag, v0.0.1, and installation was successful without :dev-master. You should now be able to require the package like you'd normally do:

composer require parziphal/parse

Please let me know if it's working now.