beeware / beeware/briefcase

False alarms from pip's dependency resolver caused by conflicts with local packages

Open
#768 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3.3k
Forks
549
Avg merge
1d 4h
Merged PRs (30d)
40

Description

briefcase create android
![image](https://user-images.githubusercontent.com/108038759/175189727-ddddb0d9-979f-45c2-b52c-fe340fb4affd.png)

**To Reproduce**
Steps to reproduce the behavior:
1. Go to cmd
2. execute the command: briefcase create android
4. See error:
pip's dependency resolver does not currently take into account the
packages that are installed. This behaviour is the source of the
following dependency conflicts.
toga-winforms 0.3.0.dev33 requieres toga-core==0.3.0.dev33, but you
have toga-core 0.3.0.dev34 which is incompatible.

**Expected behavior**
Lastly, Android emulator not working

**Screenshots**
![image](https://user-images.githubusercontent.com/108038759/175193325-c20de82f-c042-49ab-b5e4-9580e26cc5b0.png)

**Environment:**
- Operating System: Windows 8.1 Pro
- Python version: 3.10.2
- Software versions:
- Briefcase: 0.3.7
- Toga: I think so
[tool.briefcase.app.helloworld.windows]
requires = [
'toga-winforms>=0.3.0.dev32'
- ...

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `briefcase create android` in the reported Windows 8.1, Python 3.10.2, Briefcase 0.3.7 environment and inspect the pip resolver output. Compare the reported Toga version requirements with the generated Android project; done means the command no longer produces the misleading dependency conflict and the Android emulator behavior is explicitly verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.