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

Click Version incompatibility #120

Closed
nniehoff opened this issue Jan 10, 2022 · 1 comment
Closed

Click Version incompatibility #120

nniehoff opened this issue Jan 10, 2022 · 1 comment

Comments

@nniehoff
Copy link
Contributor

Environment

  • Python version: 3.x
  • schema-enforcer version: 1.1.1

When using schema-enforcer and Nautobot 1.2.3 (really celery) you have version conflicts with click. Suggest upgrading click to 8.x

Expected Behavior

No version conflicts

Observed Behavior

Updating dependencies
Resolving dependencies... (45.9s)

  SolverProblemError

      Because no versions of nautobot-chatops-grafana match >1.0.1,<2.0.0
   and nautobot-chatops-grafana (1.0.1) depends on schema-enforcer (>=1.1.1,<2.0.0), nautobot-chatops-grafana (>=1.0.1,<2.0.0) requires schema-enforcer (>=1.1.1,<2.0.0).
  (1) So, because no versions of schema-enforcer match >1.1.1,<2.0.0
   and schema-enforcer (1.1.1) depends on click (>=7.1,<8.0), nautobot-chatops-grafana (>=1.0.1,<2.0.0) requires click (>=7.1,<8.0).
  
      Because no versions of celery match >5.2.2,<5.2.3 || >5.2.3,<5.3.0
   and celery (5.2.2) depends on click (>=8.0,<9.0), celery (>=5.2.2,<5.2.3 || >5.2.3,<5.3.0) requires click (>=8.0,<9.0).
      And because celery (5.2.3) depends on click (>=8.0.3,<9.0), celery (>=5.2.2,<5.3.0) requires click (>=8.0,<9.0).
      And because nautobot-chatops-grafana (>=1.0.1,<2.0.0) requires click (>=7.1,<8.0) (1), nautobot-chatops-grafana (>=1.0.1,<2.0.0) is incompatible with celery (>=5.2.2,<5.3.0)
      And because nautobot (1.2.3) depends on celery (>=5.2.2,<5.3.0), nautobot-chatops-grafana (>=1.0.1,<2.0.0) is incompatible with nautobot (1.2.3).
      So, because nautobot-gizmo depends on both nautobot (1.2.3) and nautobot-chatops-grafana (^1.0.1), version solving failed.

  at ~/.poetry/lib/poetry/puzzle/solver.py:241 in _solve
      237│             packages = result.packages
      238│         except OverrideNeeded as e:
      239│             return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
      240│         except SolveFailure as e:
    → 241│             raise SolverProblemError(e)
      242│ 
      243│         results = dict(
      244│             depth_first_search(
      245│                 PackageNode(self._package, packages), aggregate_package_nodes

Steps to Reproduce

  1. With Poetry install Celery 5.2.2 and Schema enforcer
@nniehoff
Copy link
Contributor Author

Fixed with #121 and released in #122

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

1 participant