dreamquark-ai / tabnet

PyTorch implementation of TabNet paper : https://arxiv.org/pdf/1908.07442.pdf
https://dreamquark-ai.github.io/tabnet/
MIT License
2.55k stars 470 forks source link

fix(deps): update dependency torch to v2 - autoclosed #465

Closed renovate[bot] closed 11 months ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
torch ^1.2 -> ^2.0.0 age adoption passing confidence

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 1 year ago

âš  Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

â™» Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: poetry.lock
[15:15:10.006] INFO (10): Installing tool python v3.11.4...
installing v2 tool python v3.11.4
linking tool python v3.11.4
Python 3.11.4
pip 23.2 from /opt/containerbase/tools/python/3.11.4/lib/python3.11/site-packages/pip (python 3.11)
[15:15:17.138] INFO (10): Installed tool python in 7.1s.
[15:15:17.247] INFO (155): Installing tool poetry v1.2.2...
installing v2 tool poetry v1.2.2
linking tool poetry v1.2.2
Poetry (version 1.2.2)
[15:15:25.182] INFO (155): Installed tool poetry in 7.9s.
Creating virtualenv pytorch-tabnet-3HwBPg8J-py3.11 in /home/ubuntu/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...

/usr/local/bin/docker: line 4: .: filename argument required
.: usage: . filename [arguments]

The current project's Python requirement (>=3.6) is not compatible with some of the required packages Python requirement:
  - torch requires Python >=3.8.0, so it will not be satisfied for Python >=3.6,<3.8.0
  - torch requires Python >=3.8.0, so it will not be satisfied for Python >=3.6,<3.8.0

Because no versions of torch match >2.0.0,<2.0.1 || >2.0.1,<3.0.0
 and torch (2.0.0) requires Python >=3.8.0, torch is forbidden.
So, because torch (2.0.1) requires Python >=3.8.0
 and pytorch-tabnet depends on torch (^2.0.0), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties

    For torch, a possible solution would be to set the `python` property to ">=3.8.0"
    For torch, a possible solution would be to set the `python` property to ">=3.8.0"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers
ankitdhall commented 1 year ago

Is there a plan to update the dependency in the near future and make tabnet compatible with pytorch 2.0?