RuntimeWarning: non-string key in the __dict__ of class Outputs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 441
- Forks
- 90
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 5
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
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.
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.
Assessment
- Tech stack
- python
- Domain
- stream-processing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100