pyre-check icon indicating copy to clipboard operation
pyre-check copied to clipboard

Update pyre-check.org/play to use Python 3.11

Open hauntsaninja opened this issue 1 year ago • 3 comments

It looks like it currently targets 3.10. Targeting 3.11 (or 3.12) makes use of assert_type just a tiny bit easier. The new conformance tests in https://github.com/python/typing make heavy use of this. Alternatively, allow specifying the target Python version in the playground.

hauntsaninja avatar Jan 16 '24 06:01 hauntsaninja

Hmm. I can look into bumping the version (multi-version is probably trickier the way we currently have it set up)

That said, I don't think we actually support assert_type right now, so maybe there should be an issue for that too; I'm hoping we can start looking at getting conformance checks running on Pyre, but there's work probably needed to even start on that.

stroxler avatar Jan 17 '24 22:01 stroxler

The playground is now running on 3.12, but I'm going to leave this issue open because the current release of open-source Pyre still doesn't support assert_type.

I've fixed this on trunk (diffs finished landing today) but I need to do an open source release and a redeploy before it will show up in the playground.

stroxler avatar Feb 21 '24 18:02 stroxler