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

Add support for running fakeredis on 3.12 #211

Merged
merged 5 commits into from
Mar 30, 2024
Merged

Add support for running fakeredis on 3.12 #211

merged 5 commits into from
Mar 30, 2024

Conversation

ChrisLovering
Copy link
Member

@ChrisLovering ChrisLovering commented Mar 24, 2024

Got a PR up on lance ready to test this as needed.

Copy link

netlify bot commented Mar 24, 2024

Deploy Preview for bot-core ready!

Name Link
🔨 Latest commit 7a3d134
🔍 Latest deploy log https://app.netlify.com/sites/bot-core/deploys/660096d050c8320008c0d506
😎 Deploy Preview https://deploy-preview-211--bot-core.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

if user.id in allowed_users or any(role.id in allowed_roles for role in getattr(user, "roles", [])):
return True
return False
return bool(
Copy link
Member

Choose a reason for hiding this comment

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

why bool(?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's just what ruff auto-corrected it to. Just a bracket would probably work too, but I found this more readable.

Copy link
Member

Choose a reason for hiding this comment

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

What does this change mean?

Copy link
Member Author

Choose a reason for hiding this comment

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

When running poetry run task docs on Python 3.12 without this change, it errors saying that it couldn't import docs.

I noticed we were adding the project root to the path further down anyway so just moved it up.

@ChrisLovering ChrisLovering merged commit 7a3d134 into main Mar 30, 2024
8 checks passed
@ChrisLovering ChrisLovering deleted the bump-deps branch March 30, 2024 10:38
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.

3 participants