inducer / pymbolic

A simple package to do symbolic math (focus on code gen and DSLs)
http://mathema.tician.de/software/pymbolic
Other
106 stars 24 forks source link

Minimum python version for running tests is unexpectedly 3.10 #121

Closed SuperSandro2000 closed 1 year ago

SuperSandro2000 commented 1 year ago

The tests use a python 3.10 syntax and cannot be run on python 3.9.

https://github.com/inducer/pymbolic/blob/main/test/test_pattern_match.py#L33

alexfikl commented 1 year ago

Thanks for the report! Yeah, currently this is hacked around in the CI https://github.com/inducer/pymbolic/blob/422e89ccb113a48a73e33ec55985a25d927fcfb1/.github/workflows/ci.yml#L74

Should probably follow the suggestions at https://github.com/pytest-dev/pytest/issues/2817?

inducer commented 1 year ago

Thanks for the report and the suggestion! #122