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

installing use composer: Package amphp/artax is abandoned #118

Open
Theolodewijk opened this issue Apr 12, 2020 · 4 comments
Open

installing use composer: Package amphp/artax is abandoned #118

Theolodewijk opened this issue Apr 12, 2020 · 4 comments
Assignees
Labels
easy-fix on-hold This will be picked up in the future, but is set on hold for now
Milestone

Comments

@Theolodewijk
Copy link

Used composer for installation get the follow warning message

Package amphp/artax is abandoned, you should avoid using it. Use amphp/http-client instead.

@unreal4u
Copy link
Owner

Hi and thanks for the issue.

I will be developing in this library this wednesday so I can pick it up then as this seems an easy fix.

@unreal4u unreal4u self-assigned this Apr 12, 2020
@unreal4u
Copy link
Owner

unreal4u commented May 6, 2020

Mm, this is a tricky one as the minimal required PHP version is 7.2 for this new package. I'm all in for supporting new PHP versions, but this would break the current installations that still use old PHP versions.

I will leave this for v4 of this library, thanks!

@unreal4u unreal4u added this to the v4.0.0 milestone May 6, 2020
@unreal4u unreal4u added the on-hold This will be picked up in the future, but is set on hold for now label May 6, 2020
@kelunik
Copy link
Contributor

kelunik commented May 23, 2020

@unreal4u Composer will prevent people running older versions from installing the newer version based on amphp/http-client. I've worked around it with a hack for now: kelunik/mellon@0c05ef9#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780R31-R32

@zakharenka
Copy link

zakharenka commented Jul 25, 2020

Hi @unreal4u, I have a problem with using amphp/http-client and amphp/artax (in this library) both.

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

  Problem 1
    - amphp/artax v3.0.9 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.8 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.7 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.6 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.5 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.4 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.3 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.2 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.14 requires amphp/file ^0.2 || ^0.3 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4, v0.3.0, v0.3.1, v0.3.2, v0.3.3, v0.3.4, v0.3.5, v0.3.x-dev] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.13 requires amphp/file ^0.2 || ^0.3 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4, v0.3.0, v0.3.1, v0.3.2, v0.3.3, v0.3.4, v0.3.5, v0.3.x-dev] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.12 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.11 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.10 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.1 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.0 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - unreal4u/telegram-api v3.6.0 requires amphp/artax ^3 -> satisfiable by amphp/artax[v3.0.0, v3.0.1, v3.0.10, v3.0.11, v3.0.12, v3.0.13, v3.0.14, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9].
    - Installation request for unreal4u/telegram-api ^3.6 -> satisfiable by unreal4u/telegram-api[v3.6.0].

My composer require:

  "require": {
    "ext-json": "*",
    "ext-mbstring": "*",
    "sunra/php-simple-html-dom-parser": "^1.5",
    "concrete5/dependency-patches": "^1.3.0",
    "amphp/http-client": "^4.4",
    "amphp/http-client-cookies": "^1.0",
    "amphp/file": "^1.0",
    "amphp/log": "^1.1",
    "unreal4u/telegram-api": "^3.6"
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy-fix on-hold This will be picked up in the future, but is set on hold for now
Projects
None yet
Development

No branches or pull requests

5 participants
@unreal4u @kelunik @Theolodewijk @zakharenka and others