-
-
Notifications
You must be signed in to change notification settings - Fork 669
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
Error when installing dependencies for new Windows Machine. #2126
Comments
Toga now uses setuptools-scm to automatically generate version numbers from Git tags. So you don't need to be on a tagged version, but you do need to have pulled all the tags. My guess is that you cloned the repository some time ago, and haven't pulled the tags since. In which case, the only thing you actually needed to do is |
Even though it's not going to affect that many people, it's a non-obvious failure mode, so it's probably worth a mention in the contribution docs. |
@mhsmith @freakboy3742 thank you for your responses. I just thought it might help someone out:) |
This was the same problem I was having once the Based on the contributing guide, users should clone their forked copy of the repo. This initial action should fork the repo with all the tags. However, over time, this becomes out of date unless the user manually manages the tags in their fork....or they add I got around all this by first cloning
In this way, IMHO, I'm more reliably using I'm feel like I may be missing something with using my own fork as the Insight on how others are handling this is appreciated....I can probably submit a doc update once I understand the way users are supposed to manage this....without being a |
Describe the bug
When getting set up as a developer I get an error if I'm not on a version that is tagged.
Steps to reproduce
pip install -e ./core[dev] -e ./dummy -e ./winforms
The following output is what I see.
Expected behavior
It should just install without an issue.
Fixed with the following steps.
git remote add upstream git@github.com:beeware/toga.git
git fetch --all --tags
Screenshots
No response
Environment
Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: