RuntimeWarning: non-string key in the __dict__ of class Outputs
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- stream-processing
Research direction
Reproduce the warning with Python 3.13 by importing csp or Outputs, then inspect the Outputs definition in csp/impl/types/common_definitions.py. Verify that the relevant change removes the RuntimeWarning without affecting imports, and rerun both import examples to confirm the warning is gone.
Written by the indexing model from the issue text.
Description
Describe the bug
When importing csp in python 3.13, RuntimeWarning: non-string key in the __dict__ of class Outputs is raised from csp/impl/types/common_definitions.py.
To Reproduce
Install/build csp in python 3.13 and run
import csp
or
from csp.impl.types.common_definitions import Outputs
Expected behavior
No RuntimeWarnings should be raised.
Error Message
Runtime Environment
Additional context
This is coming from https://github.com/python/cpython/commit/f7c05d7ad3075a1dbeed86b6b12903032e4afba6 as a resolution for https://github.com/python/cpython/issues/55664
- Dominant language
- Python
- Stars
- 441
- Forks
- 90
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Point72/csp
-
part: documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
type: feature
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
type: bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
We should allow specifying adjusted input annotations before csp.start / csp.alarms / csp.state Opentype: enhancement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
adapter: kafka type: enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100