facebook / buck

A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.
https://buck.build
Apache License 2.0
8.56k stars 1.16k forks source link

Don't use `parser` module if `symbol` doesn't exist as well. #2680

Closed aadsm closed 2 years ago

aadsm commented 2 years ago

Python 3.10 removed the parser and the symbol modules that were deprecated for a while now. There's a fallback implementation with markerlib for parser but we were not checking for the lack of the symbol module as well.

bigfootjon commented 2 years ago

This has been superseded by https://github.com/facebook/buck/pull/2697 / https://github.com/facebook/buck/pull/2696