develop-on-borgmatic instruction result in errors #648

Closed
opened 2023-03-15 08:26:15 +00:00 by nain · 0 comments
Contributor

What I'm trying to do and why

Setting up dev environment to work on bogmatic. So I can contribute.
Following instructions here https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/

Steps to reproduce (if a bug)

> pip3 install --editable --user .
ERROR: --user is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).

Actual behavior (if a bug)

See above

--user is being read as an argument for --editable.

Expected behavior (if a bug)

It (the whole command) should do what it's supposed to

Other notes / implementation ideas

Change to pip3 install --user --editable .
Should work better.

Environment

borgmatic version: NA

borgmatic installation method: git

Borg version: NA

Python version: Python 3.10.6

Database version (if applicable): NA

operating system and version: Ubuntu 20.04 (inside a pod (~docker container))

#### What I'm trying to do and why Setting up dev environment to work on bogmatic. So I can contribute. Following instructions here https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/ #### Steps to reproduce (if a bug) > pip3 install --editable --user . ERROR: --user is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file). #### Actual behavior (if a bug) See above `--user` is being read as an argument for `--editable`. #### Expected behavior (if a bug) It (the whole command) should do what it's supposed to #### Other notes / implementation ideas Change to `pip3 install --user --editable .` Should work better. #### Environment **borgmatic version:** NA **borgmatic installation method:** git **Borg version:** NA **Python version:** Python 3.10.6 **Database version (if applicable):** NA **operating system and version:** Ubuntu 20.04 (inside a pod (~docker container))
witten added the
bug
label 2023-03-15 18:07:05 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#648
No description provided.