AndrewSpittlemeister / bytechomp

A pure python declarative custom binary protocol parser & generator using dataclasses and type hinting. Like Pydantic for binary protocols.
MIT License
38 stars 7 forks source link

Python 3.12 support? #4

Open craig8 opened 6 months ago

craig8 commented 6 months ago

Is the binary structures different for the different versions of python? I am just wondering because you are explicitly calling out python less than 3.11 instead of <4.

craig8 commented 6 months ago

Adding it to my poetry file I get

The current project's supported Python range (>=3.10,<4.0) is not compatible with some of the required packages Python requirement:
  - bytechomp requires Python >=3.10,<3.11, so it will not be satisfied for Python >=3.11,<4.0

Because no versions of bytechomp match >0.3.0,<0.4.0
 and bytechomp (0.3.0) requires Python >=3.10,<3.11, bytechomp is forbidden.
So, because volttron depends on bytechomp (^0.3.0), version solving failed.

So apparently what you have in your poetry file is only available for 3.10. If I am reading this correctly.