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

Upgrade WTForms and use WTForms-SQLAlchemy #255

Merged
merged 2 commits into from
Dec 10, 2022
Merged

Upgrade WTForms and use WTForms-SQLAlchemy #255

merged 2 commits into from
Dec 10, 2022

Conversation

sea-kelp
Copy link
Collaborator

@sea-kelp sea-kelp commented Dec 2, 2022

Description of Changes

Fixes #245 and replaces #251 .

wtforms.ext.sqlalchemy was removed in WTForms 3.0 so a couple changes were needed before we could upgrade

Notes for Deployment

None!

Screenshots (if appropriate)

Tests and linting

  • I have rebased my changes on main

  • just lint passes

  • just test passes

requirements.txt Outdated
@@ -20,4 +20,5 @@ python-dateutil==2.8.2
python-dotenv==0.20.0
SQLAlchemy==1.4.41
us==2.0.2
WTForms<3.0.0
WTForms<4.0.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did we want to maybe pin this rather than having it be ambiguous?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I can do that! I just copied what dependabot suggested but that's probably a better idea

Copy link
Collaborator

@AetherUnbound AetherUnbound left a comment

Choose a reason for hiding this comment

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

Looks good! Just one question on dep pinning but this could be merged either way.

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.

Replace wtforms.ext.sqlalchemy
2 participants