Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backwards compatibility with python3.7 #2148

Merged

Conversation

dayjaby
Copy link
Collaborator

@dayjaby dayjaby commented Dec 21, 2024

#2117 broke my linux-on-litex-vexriscv build as the f4pga conda environment still uses python3.7 and the new (python3.8) assignment expression got used in if specific_div_range := getattr(self, f"clkout{n}_divide_range", None):.

For the sake of backwards compatibility, and not unnecessarily breaking the build for other people, this PR gets rid of the assignment expression.

Edit: Same issue with building versa_ecp5 in linux-on-litex-vexriscv as the nextpnr-ecp5 install (conda install litex-hub::yosys litex-hub::nextpnr-ecp5) requires python>=3.7,<3.8 but some script is using the python3.9's str removesuffix method.

@dayjaby dayjaby force-pushed the backwards_compatibility_python3.7 branch from 9f5c3d0 to 3601b71 Compare December 21, 2024 13:33
@enjoy-digital
Copy link
Owner

Thanks @dayjaby, this is merged.

@enjoy-digital enjoy-digital merged commit 263b1c3 into enjoy-digital:master Dec 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants