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

Detect multiple versions of oj command #837

Open
kmyk opened this issue Oct 27, 2020 · 0 comments
Open

Detect multiple versions of oj command #837

kmyk opened this issue Oct 27, 2020 · 0 comments

Comments

@kmyk
Copy link
Member

kmyk commented Oct 27, 2020

Description

Some users install online-judge-tools package at many places (e.g., ~/.local, /usr/local, venv, pyenv, virtualenv, Anaconda, pipenv, etc.) (this is a mistake of users) and/or install multiple versions of the online-judge-tools package even at one place (a issue of pip command?). This prevents upgrading packages, because some old versions may hide the newest version.
We should detect such states and warn users.

Possible implementations and the analysis

  • For the issue of multiple locations: searching $PATH (and some typical paths) for oj commands or oj-api commands. This is straightforward.
  • For the issue of multiple versions: investigation is needed. I don't know why this happens and whether it's actually problematic. We should make a repro at first.
  • Find an existing tool for this issue?

Other notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant