question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bare Git Repo at UNC Shared Drive Filepath

See original GitHub issue
  • I have searched the issues of this repo and believe that this is not a duplicate.

Issue

System: latest version of poetry, python 3.10.2, Windows 10 64-bit

I have a bare GIT repo on a shared drive which I need to include as a dependency. I have the following dependency in pyproject.toml:

[tool.poetry.dependencies]
repo-name = {git="file://drive-name/path/repo-name.git"}

When using “poetry build” I get the following error: No file/folder found for package “poetry install” seems to silently fail. It does not install the dependency.

In setuptools setup.py I can use the following path and install/uninstall works without issue: repo-name@file://drive-name/path/repo-name.git#egg=repo-name

The documentation seems, as far as I can tell, a little sparse on this scenario. What am I missing?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ConnorSMaynescommented, Apr 26, 2022

#5428 also seems to be working, thank you. I did not try that before because I was running into some issues uninstalling, but it is working now. I will use that fork until it is merged.

1reaction
ConnorSMaynescommented, Apr 26, 2022

No file/folder found for package

This one is likely because the project does not define packages in pyproject.toml and auto discovery fails to find your package.

You were right. I made a copy of the repo to test with and that messed up the package name.

Read more comments on GitHub >

github_iconTop Results From Across the Web

git on UNC path - Stack Overflow
My problem is I cannot access network drive from git. I put PortableGit on the network drive, but git-bash.bat and git-cmd.bat die with...
Read more >
Git on Windows: Creating a network shared central repository.
pushd \\remoteServer\git\Share\Folder\Path. Now that we?re in the remote location we can create a bare git repository. mkdir MyGitRepo1
Read more >
Setup Git for small teams (network share – bare) - Papooze
Setup Git for small teams (network share – bare) ... Use the “bare” repo path (not UNC file path) use '\\' at the...
Read more >
Can Git clone a bare repository to another bare repository – iTecNote
The network drive (with a long UNC path!) would contain the main bare repo that acts as the upstream reference copy (2 or...
Read more >
How to create your own local Git remote repo that's not hosted ...
Remember we can't do a `git ls-files` here in the shared.git folder because it is a bare repo and has no working directory....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found