beeware / beeware/galley

Doesn't Start on Python 3.10

Closed
#15 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
28
Forks
11
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

`cd galley`
`pip install .`
`galley`

gets me

```
Traceback (most recent call last):
File "/opt/anaconda3/bin/galley", line 5, in
from galley.__main__ import main
File "/Users/johnzhou/galley/galley/__main__.py", line 9, in
from galley.view import MainWindow
File "/Users/johnzhou/galley/galley/view.py", line 7, in
from queue import Query, Empty
ImportError: cannot import name 'Query' from 'queue' (/opt/anaconda3/lib/python3.10/queue.py)
```

### Steps to reproduce

See above

### Expected behavior

Starts

### Screenshots

_No response_

### Environment

- Operating System:
- Python version:
- Software versions:
- Briefcase:
- Toga:
- ...

### Logs

```

```

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start in galley/view.py, where the traceback shows the failing import, and inspect how the project’s Query and Empty names are expected to be provided. Reproduce the documented installation and galley command under Python 3.10. Done means the application starts without this ImportError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.