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

⬆️(project) upgrade python dependencies #331

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 13, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
django-debug-toolbar (changelog) ==4.4.6 -> ==5.0.1 age adoption passing confidence
django-environ (source, changelog) ==0.11.2 -> ==0.12.0 age adoption passing confidence
geoalchemy2 (source) ==0.16.0 -> ==0.17.0 age adoption passing confidence
locust (source) ==2.32.5 -> ==2.32.6 age adoption passing confidence
prefect (source, changelog) ==3.1.5 -> ==3.1.12 age adoption passing confidence
pydantic (changelog) 2.10.4 -> 2.10.5 age adoption passing confidence
pydantic (changelog) ==2.10.4 -> ==2.10.5 age adoption passing confidence
ruff (source, changelog) ^0.8.0 -> ^0.9.0 age adoption passing confidence
ruff (source, changelog) ==0.8.6 -> ==0.9.1 age adoption passing confidence
sentry-sdk (changelog) ==2.19.2 -> ==2.20.0 age adoption passing confidence
setuptools (changelog) ==75.7.0 -> ==75.8.0 age adoption passing confidence

Release Notes

django-commons/django-debug-toolbar (django-debug-toolbar)

v5.0.1

Compare Source

What's Changed

There were no functional changes in this version.

PRs

Full Changelog: django-commons/django-debug-toolbar@5.0.0...5.0.1

v5.0.0

Compare Source

What's Changed

Please note that Django Debug Toolbar has now moved into the Django Commons organization.

Changelog
  • Added Python 3.13 to the CI matrix.
  • Removed support for Python 3.8 as it has reached end of life.
  • Converted to Django Commons PyPI release process.
  • Fixed a crash which occurred when using non-str static file values.
  • Documented experimental async support.
  • Improved troubleshooting doc for incorrect mime types for .js static files
  • Support async applications and ASGI from
    Google Summer of Code Project 2024 <https://summerofcode.withgoogle.com/programs/2024/projects/iXVvyGYp>__.
  • Added Django 5.1 to the CI matrix.
  • Added support for the LoginRequiredMiddleware introduced in Django 5.1.
  • Support select and explain buttons for UNION queries on PostgreSQL.
  • Fixed internal toolbar requests being instrumented if the Django setting
    FORCE_SCRIPT_NAME was set.
  • Increase opacity of show Debug Toolbar handle to improve accessibility.
  • Changed the RedirectsPanel to be async compatible.
  • Increased the contrast of text with dark mode enabled.
  • Add translations for Bulgarian and Korean.
  • Update translations for several languages.
  • Include new translatable strings for translation.
  • Fixed a crash which happened in the fallback case when session keys cannot be
    sorted.
PRs

Google Summer of Code - Async project

This release contains the changes for async compatibility for the majority of panels. This is the result of the Google Summer of Code project by @​salty-ivy. A massive thank you 💚 and a round of applause 👏 is due to Aman!

New Contributors

Full Changelog: django-commons/django-debug-toolbar@4.4.6...5.0.0

joke2k/django-environ (django-environ)

v0.12.0

Fixed
+++++

  • Include prefix in the ImproperlyConfigured error message
    #&#8203;513 <https://github.com/joke2k/django-environ/issues/513>_.

Added
+++++

  • Add support for Python 3.12 and 3.13
    #&#8203;538 <https://github.com/joke2k/django-environ/issues/538>_.
  • Add support for Django 5.1
    #&#8203;535 <https://github.com/joke2k/django-environ/issues/535>_.
  • Add support for Django CockroachDB driver
    #&#8203;509 <https://github.com/joke2k/django-environ/issues/509>_.
  • Add support for Django Channels
    #&#8203;266 <https://github.com/joke2k/django-environ/issues/266>_.

Changed
+++++++

  • Disabled inline comments handling by default due to potential side effects.
    While the feature itself is useful, the project's philosophy dictates that
    it should not be enabled by default for all users
    #&#8203;499 <https://github.com/joke2k/django-environ/issues/499>_.

Removed
+++++++

  • Removed support of Python 3.6, 3.7 and 3.8
    #&#8203;538 <https://github.com/joke2k/django-environ/issues/538>_.
  • Removed support of Django 1.x.
    #&#8203;538 <https://github.com/joke2k/django-environ/issues/538>_.
geoalchemy/geoalchemy2 (geoalchemy2)

v0.17.0

Compare Source

locustio/locust (locust)

v2.32.6

Compare Source

What's Changed

New Contributors

Full Changelog: locustio/locust@2.32.5...2.32.6

PrefectHQ/prefect (prefect)

v3.1.12: : Winter Summit is Coming

Compare Source

Winter Summit is Coming

Please consider joining us virtually January 22-23 for our Winter Summit, where we'll be giving some exciting updates on our OSS community growth along with customer stories and updates on Prefect's roadmap! Check out the agenda and register here.

Enhancements ➕➕
Bug Fixes 🐞
Integrations & Dependencies 🤝
Development & Tidiness 🧹
Documentation 📓

New Contributors

Full Changelog: PrefectHQ/prefect@3.1.11...3.1.12

v3.1.11: : Flow-verload

Compare Source

What's Changed
Enhancements ➕➕
Bug Fixes 🐞
Integrations & Dependencies 🤝
Development & Tidiness 🧹
Documentation 📓
v2 UI
New Contributors

Full Changelog: PrefectHQ/prefect@3.1.10...3.1.11

v3.1.10: Not a CPU was stirring, not even in prod

Compare Source

'Twas the night before Christmas, when through every cloud
Not a CPU was stirring, not even in prod

Bug Fixes 🐞
Development & Tidiness 🧹
Documentation 📓

Full Changelog: PrefectHQ/prefect@3.1.9...3.1.10

v3.1.9: : All I Want for Christmas is Queue

Compare Source

What's Changed

Enhancements ➕➕
Bug Fixes 🐞
Integrations & Dependencies 🤝
Development & Tidiness 🧹
Documentation 📓

Full Changelog: PrefectHQ/prefect@3.1.8...3.1.9

v3.1.8: : A Tale of Two Features

Compare Source

What's Changed

Runner Heartbeats for Flow Run Monitoring

Flow runs can now emit heartbeat events to detect infrastructure failures (crashed machines, evicted containers, etc). When enabled, an automation can automatically mark flows as crashed when heartbeats stop, preventing stuck "zombie" flows in the running state.

Enable with:

  • Set PREFECT_RUNNER_HEARTBEAT_FREQUENCY (requires Prefect 3.1.8+)
  • Deploy the provided automation script to update flow states when heartbeats stop
from prefect.automations import Automation
from prefect.client.schemas.objects import StateType
from prefect.events.actions import ChangeFlowRunState
from prefect.events.schemas.automations import EventTrigger, Posture

my_automation = Automation(
    name="Crash zombie flows",
    trigger=EventTrigger(
        after={"prefect.flow-run.heartbeat"},
        expect={
            "prefect.flow-run.heartbeat",
            "prefect.flow-run.Completed",
            "prefect.flow-run.Failed",
            "prefect.flow-run.Cancelled",
            "prefect.flow-run.Crashed",
        },
        match={"prefect.resource.id": ["prefect.flow-run.*"]},
        for_each={"prefect.resource.id"},
        posture=Posture.Proactive,
        threshold=1,
        within=90,
    ),
    actions=[
        ChangeFlowRunState(
            state=StateType.CRASHED,
            message="Flow run marked as crashed due to missing heartbeats.",
        )
    ],
)

my_automation.create()
Basic Authentication

We have also added a long requested feature: basic authentication support for the Prefect API. Enable by setting an auth string:

Start a protected server:

PREFECT_SERVER_API_AUTH_STRING="admin:admin" prefect server start

Authenticate client operations:

PREFECT_API_AUTH_STRING="admin:admin" python flow_script.py
Enhancements ➕➕
Integrations & Dependencies 🤝
Documentation 📓

Full Changelog: PrefectHQ/prefect@3.1.7...3.1.8

v3.1.7: : Straight outta Half Moon Bay

Compare Source

What's Changed

Enhancements ➕➕
Bug Fixes 🐞
Development & Tidiness 🧹

Configuration

📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/python-dependencies branch 4 times, most recently from 63922ce to f8d61b1 Compare January 14, 2025 04:43
| datasource | package              | from   | to     |
| ---------- | -------------------- | ------ | ------ |
| pypi       | django-debug-toolbar | 4.4.6  | 5.0.1  |
| pypi       | django-environ       | 0.11.2 | 0.12.0 |
| pypi       | geoalchemy2          | 0.16.0 | 0.17.0 |
| pypi       | locust               | 2.32.5 | 2.32.6 |
| pypi       | prefect              | 3.1.5  | 3.1.12 |
| pypi       | pydantic             | 2.10.4 | 2.10.5 |
| pypi       | ruff                 | 0.8.6  | 0.9.1  |
| pypi       | sentry-sdk           | 2.19.2 | 2.20.0 |
| pypi       | setuptools           | 75.7.0 | 75.8.0 |
@renovate renovate bot force-pushed the renovate/python-dependencies branch from f8d61b1 to fdb42a0 Compare January 14, 2025 10:37
@jmaupetit jmaupetit self-assigned this Jan 14, 2025
@MTES-MCT MTES-MCT deleted a comment from github-actions bot Jan 14, 2025
@MTES-MCT MTES-MCT deleted a comment from github-actions bot Jan 14, 2025
@MTES-MCT MTES-MCT deleted a comment from github-actions bot Jan 14, 2025
@MTES-MCT MTES-MCT deleted a comment from github-actions bot Jan 14, 2025
@MTES-MCT MTES-MCT deleted a comment from github-actions bot Jan 14, 2025
Copy link
Contributor Author

renovate bot commented Jan 14, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@MTES-MCT MTES-MCT deleted a comment from github-actions bot Jan 14, 2025
Copy link

Current benchmark

Type Name Request Count Failure Count Median Response Time Average Response Time Min Response Time Max Response Time Average Content Size Requests/s Failures/s 50% 66% 75% 80% 90% 95% 98% 99% 99.9% 99.99% 100% git timestamp version
GET /auth/whoami 32 0 450.0 514.338300781251 10.711409000009551 1635.412137000003 160.0 1.1325049605307915 0.0 480 680 700 710 930 1400 1600 1600 1600 1600 1600 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
POST /dynamique/session/ 24 0 790.0 774.245616416671 23.261571999967146 1909.3531660000167 45.0 0.8493787203980936 0.0 810 900 1000 1400 1500 1600 1900 1900 1900 1900 1900 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
POST /dynamique/session/bulk 30 0 820.0 729.0351504333369 10.826070999996771 1818.743749000021 411.0 1.061723400497617 0.0 820 1000 1200 1400 1400 1700 1800 1800 1800 1800 1800 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
GET /dynamique/status/ 23 0 820.0 962.954688782598 27.79905299996699 2417.7309680000008 285.0 0.8139879403815063 0.0 820 1300 1600 1600 1700 1900 2400 2400 2400 2400 2400 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
POST /dynamique/status/ 36 0 600.0 763.5280111111119 8.622929000011936 2030.1253060000024 45.0 1.2740680805971405 0.0 620 910 1200 1200 1900 2000 2000 2000 2000 2000 2000 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
GET /dynamique/status/FRALLEGO002006P3 33 0 730.0 742.5168125757589 15.1981669999941 2133.60052500002 283.0 1.1678957405473789 0.0 730 930 970 1100 1300 2000 2100 2100 2100 2100 2100 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
GET /dynamique/status/FRALLEGO002006P3/history 33 0 660.0 779.7333476060649 16.042283000047064 2028.935193999985 77378.09090909091 1.1678957405473789 0.0 660 1100 1200 1500 1800 1900 2000 2000 2000 2000 2000 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
POST /dynamique/status/bulk 41 0 710.0 705.1157130975606 16.857404999996106 2109.1345250000018 411.0 1.4510219806800766 0.0 710 870 990 1000 1300 1600 2100 2100 2100 2100 2100 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
POST /statique/ 27 13 610.0 758.6874778518518 40.02328100000341 1958.436866999989 55.14814814814815 0.9555510604478552 0.460080140215634 610 880 1100 1300 1700 1900 2000 2000 2000 2000 2000 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
GET /statique/?limit=10 16 0 750.0 788.7215408124995 36.80785400001696 2024.151181999969 13826.625 0.5662524802653958 0.0 970 1000 1200 1200 1300 2000 2000 2000 2000 2000 2000 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
GET /statique/?limit=100 20 0 940.0 1121.4476260499991 168.0245900000159 2115.0402019999888 129006.7 0.7078156003317447 0.0 970 1300 1900 1900 2100 2100 2100 2100 2100 2100 2100 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
PUT /statique/FR073EP7QU5233 29 0 900.0 908.1498726896564 39.30038599997943 2112.2134230000142 1371.0 1.0263326204810297 0.0 900 1100 1300 1300 1500 1900 2100 2100 2100 2100 2100 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
GET /statique/FRALLEGO002006P3 36 0 740.0 842.6595076666704 18.374814999958744 2108.716394999988 1202.0 1.2740680805971405 0.0 830 970 1300 1400 1600 1900 2100 2100 2100 2100 2100 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
POST /statique/bulk 30 0 1000.0 1168.623612900005 423.04610999997294 2132.692098999996 1121.2666666666669 1.061723400497617 0.0 1200 1300 1600 1900 1900 2100 2100 2100 2100 2100 2100 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0
Aggregated 410 13 750.0 812.0843823024401 8.622929000011936 2417.7309680000008 13477.780487804876 14.510219806800766 0.460080140215634 750 980 1200 1300 1700 1900 2100 2100 2400 2400 2400 ffaaf89 2025-01-14 11:05:05.813034+00:00 0.16.0

Comparison with the latest previous benchmark

A lower (negative) value means the current version performs better than the previous one.

Type Name Request Count Failure Count Median Response Time Average Response Time Min Response Time Max Response Time Average Content Size Requests/s
GET /auth/whoami
POST /dynamique/session/
POST /dynamique/session/bulk
GET /dynamique/status/
POST /dynamique/status/
GET /dynamique/status/FRALLEGO002006P3
GET /dynamique/status/FRALLEGO002006P3/history
POST /dynamique/status/bulk
POST /statique/
GET /statique/?limit=10
GET /statique/?limit=100
PUT /statique/FR073EP7QU5233
GET /statique/FRALLEGO002006P3
POST /statique/bulk
Aggregated

@jmaupetit jmaupetit merged commit 0e9e0e7 into main Jan 14, 2025
24 checks passed
@jmaupetit jmaupetit deleted the renovate/python-dependencies branch January 14, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant