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

Deps poetry #5789

Merged
merged 4 commits into from
Jan 13, 2025
Merged

Deps poetry #5789

merged 4 commits into from
Jan 13, 2025

Conversation

norkans7
Copy link

@norkans7 norkans7 commented Jan 10, 2025

I tried to make sure the deps stay to the one we have before this change as much as possible

Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (9b7b888) to head (a37970e).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #5789   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          448       448           
  Lines        25142     25142           
=========================================
  Hits         25142     25142           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@norkans7 norkans7 force-pushed the deps-poetry branch 2 times, most recently from be08db5 to 7957136 Compare January 10, 2025 22:22
@@ -15,7 +15,7 @@ def datetime_to_str(date_obj, format, tz):
if not date_obj:
return None

if type(date_obj) == date:
Copy link
Author

@norkans7 norkans7 Jan 10, 2025

Choose a reason for hiding this comment

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

Fix ruff check

E721 Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks

@norkans7 norkans7 requested a review from rowanseymour January 10, 2025 22:26
@norkans7 norkans7 marked this pull request as ready for review January 10, 2025 22:27
pyproject.toml Outdated
@@ -7,53 +7,54 @@ authors = [
]
readme = "README.md"
requires-python = ">=3.12,<3.13"
dependencies = []
dependencies = [
"django (>=5.1.4,<5.2.0)",
Copy link
Member

Choose a reason for hiding this comment

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

can't this be written like ~=5.1.4 ?

Copy link
Author

Choose a reason for hiding this comment

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

I will try that

pyproject.toml Outdated
"django-timezone-field (>=6.1.0,<6.2.0)",
"djangorestframework (>=3.15.1,<3.16.0)",
"dj-database-url (>=0.5.0,<0.6.0)",
"smartmin (==5.1.1)",
Copy link
Member

Choose a reason for hiding this comment

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

I get that you didn't change this but it's odd that this one dependency is absolute

Copy link
Member

Choose a reason for hiding this comment

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

I guess it's because it was added with poetry add? Maybe for all of these they should be tweaked afterwards to allow patch updates.

pyproject.toml Outdated
"chardet ~= 4.0.0",
"openpyxl ~= 3.1.5",
"ffmpeg-python ~= 0.2.0",
"slack-sdk (==3.17.0)",
Copy link
Member

Choose a reason for hiding this comment

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

any reason why this is different?

@rowanseymour rowanseymour merged commit 38628fa into main Jan 13, 2025
5 checks passed
@rowanseymour rowanseymour deleted the deps-poetry branch January 13, 2025 17:07
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants