Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Get Buck working for 3.10 #2696

Closed
wants to merge 1 commit into from

Conversation

lisroach
Copy link
Contributor

@lisroach lisroach commented Apr 27, 2022

Summary:
On 3.10 some collections classes have been moved to
collections.abc and it causes Buck 1 to crash. This diff fixes those
instances.

Really pex should be upgraded, but I made an attempt and it was very difficult
due to our custom changes to pex.

Fixes: #2678

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D35971712

lisroach added a commit to lisroach/buck that referenced this pull request Apr 27, 2022
Summary:
Pull Request resolved: facebook#2696

On 3.10 some `collections` classes have been moved to
`collections.abc` and it causes Buck 1 to crash. This diff fixes those
instances.

Really pex should be upgraded, but I made an attempt and it was very difficult
due to our custom changes to pex.

fbshipit-source-id: cadb6e533c94b87d38b75d4b9ffcb3d018ffe29a
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D35971712

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D35971712

lisroach added a commit to lisroach/buck that referenced this pull request Apr 28, 2022
Summary:
Pull Request resolved: facebook#2696

On 3.10 some `collections` classes have been moved to
`collections.abc` and it causes Buck 1 to crash. This diff fixes those
instances.

Really pex should be upgraded, but I made an attempt and it was very difficult
due to our custom changes to pex.

fbshipit-source-id: daca9d9d35fbb92a9faebca2890d5e2cf78dd67b
Copy link
Member

@bigfootjon bigfootjon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason the dev branch (synced from Meta) won't build for me, so I cherry-picked this PR onto main and built that.

It works for me! I can now buck run my python3.10-only program!

I'll approve the linked Diff on Monday/after you publish it. Thanks for fixing this!

Summary:
Pull Request resolved: facebook#2696

On 3.10 some `collections` classes have been moved to
`collections.abc` and it causes Buck 1 to crash. This diff fixes those
instances.

Really pex should be upgraded, but I made an attempt and it was very difficult
due to our custom changes to pex.

Reviewed By: bigfootjon

fbshipit-source-id: 1c124b6a7eb7609533555e0d3ad94e7d0fa68d6f
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D35971712

facebook-github-bot pushed a commit that referenced this pull request May 3, 2022
Summary:
Pull Request resolved: #2696

On 3.10 some `collections` classes have been moved to
`collections.abc` and it causes Buck 1 to crash. This diff fixes those
instances.

Really pex should be upgraded, but I made an attempt and it was very difficult
due to our custom changes to pex.

Reviewed By: bigfootjon

fbshipit-source-id: 15a7bb96e664d5169b12de09e9157571782c861f
@bigfootjon bigfootjon closed this May 3, 2022
bigfootjon pushed a commit that referenced this pull request May 4, 2022
Cherry-picked from
1ae1e6c

Summary:
Pull Request resolved: #2696

On 3.10 some `collections` classes have been moved to
`collections.abc` and it causes Buck 1 to crash. This diff fixes those
instances.

Really pex should be upgraded, but I made an attempt and it was very difficult
due to our custom changes to pex.

Reviewed By: bigfootjon

fbshipit-source-id: 15a7bb96e664d5169b12de09e9157571782c861f
bigfootjon added a commit that referenced this pull request May 5, 2022
Cherry-picked from
1ae1e6c

Summary:
Pull Request resolved: #2696

On 3.10 some `collections` classes have been moved to
`collections.abc` and it causes Buck 1 to crash. This diff fixes those
instances.

Really pex should be upgraded, but I made an attempt and it was very difficult
due to our custom changes to pex.

Reviewed By: bigfootjon

fbshipit-source-id: 15a7bb96e664d5169b12de09e9157571782c861f

Co-authored-by: Lisa Roach <lisroach@fb.com>
shepting pushed a commit to airbnb/buck that referenced this pull request Aug 23, 2022
Cherry-picked from
facebook@1ae1e6c

Summary:
Pull Request resolved: facebook#2696

On 3.10 some `collections` classes have been moved to
`collections.abc` and it causes Buck 1 to crash. This diff fixes those
instances.

Really pex should be upgraded, but I made an attempt and it was very difficult
due to our custom changes to pex.

Reviewed By: bigfootjon

fbshipit-source-id: 15a7bb96e664d5169b12de09e9157571782c861f

Co-authored-by: Lisa Roach <lisroach@fb.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants