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

I had difficulty installing the latest commit with composer #16

Open
vesper8 opened this issue Aug 27, 2021 · 2 comments
Open

I had difficulty installing the latest commit with composer #16

vesper8 opened this issue Aug 27, 2021 · 2 comments
Assignees

Comments

@vesper8
Copy link

vesper8 commented Aug 27, 2021

For some reason just doing

composer require ryanhs/chess.php

Gets the 2017 version tagged 1.0.3

Then doing

composer require ryanhs/chess.php:dev-master

Gets the 7e57882 commit from 2019.. although you would expect it to get the very latest commit. I don't understand why it doesn't

Finally I was able to get the latest commit which doesn't have the deprecations by specifying the hash of the latest commit like so:

composer require ryanhs/chess.php:dev-master#1a09918bca199fcdb183877e2fff82183b697727

I don't understand whether that's a problem with this repo or a problem with composer. I'm using Composer version 2.1.6 2021-08-19 17:11:08

It works now though. I was needing a way to convert UCI notation to SAN.. and I got it to work thanks to this package

Thank you for your continued work on it @lovephpforever

It says Package ryanhs/chess.php is abandoned but it doesn't seem to be abandoned..

Maybe you could tag a new version in 2021 soon? : )

Thanks!

@lovephpforever lovephpforever self-assigned this Sep 1, 2021
@lovephpforever
Copy link
Collaborator

That is weird, soon I will be releasing a major version which supports the latest versions of PHP.

@vesper8
Copy link
Author

vesper8 commented Dec 27, 2021

@lovephpforever any update on this new version? I'm also now finding myself in need of a version that supports PHP 8

It's super weird, as above, I noticed that your latest composer.json does support php 8.0, but somehow when I try to install it, it still gives me the error ryanhs/chess.php dev-master requires php ^7.1 -> your php version (8.0; overridden via config.platform, actual: 8.0.13) does not satisfy that requirement.

There's something really unusual about how this package is linked via Composer but I can't figure out what it is

I think some or all of these issues would be resolved if you tagged a new release

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

No branches or pull requests

2 participants