Update python dependencies - #2780
Conversation
1ffea93 to
e208ce6
Compare
e208ce6 to
4ed40e4
Compare
|
The test failures are related to deprecated functionality removed in Django 6.1 that incidentally did not raise a deprecation warning. The two mypy failures are fixed with a |
this relocates all test_data jsons again...
Edited/Blocked NotificationRenovate 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. |
niklasmohrin
left a comment
There was a problem hiding this comment.
Very cool that we got the natural key fix :)
| value = questionnaire_form.cleaned_data.get(answer_field_id(contribution, questionnaire, question)) | ||
| assert value is not None |
There was a problem hiding this comment.
I guess then we are just doing this?
| value = questionnaire_form.cleaned_data.get(answer_field_id(contribution, questionnaire, question)) | |
| assert value is not None | |
| value = questionnaire_form.cleaned_data[answer_field_id(contribution, questionnaire, question)] |
|
Django's new fetch mode feature looks nice, might help to track down database access in student index: https://docs.djangoproject.com/en/6.1/topics/db/fetch-modes/ |
This PR contains the following updates:
~=6.0.2→~=6.1.1~=7.15.0→~=7.16.0~=7.0→~=8.0~=6.0.2→~=6.1.0~=4.46.0→~=4.48.0Release Notes
django/django (Django)
v6.1.1Compare Source
v6.1Compare Source
v6.0.8Compare Source
coveragepy/coveragepy (coverage)
v7.16.0Compare Source
When combining files, now path separator slashes will automatically be
converted to the local file system style. This makes it less necessary to
define
[paths]configuration to combine data across operating systems.Fixes
issue 2266_.The :meth:
.Coverage.switch_contextmethod now returns the previous context.Fix: previously, a
[paths]pattern would be replaced everywhere in a filepath when it was only meant to be replaced once, in the leading portion of
the path. This is now fixed, in
pull 2268_.Fixes to validation of options and configuration settings:
Negative precision settings now always cause useful error messages (
pull 2261_).An invalid regex in the
--contextsoption (or the[report] contextssetting) reported a confusing "Couldn't use data file ...:user-defined function raised exception" error. Now it raises a proper
configuration error naming the bad regex, like other regex settings do
(
pull 2262_).Non-string values in TOML configuration settings now produce a helpful
error message instead of a traceback. This affects list settings whose
elements aren't strings (like
omit,exclude_lines, or a[paths]entry), file settings like
data_file, and any wrong-typed value in the[paths]section (pull 2263_).coverage runrefuses run-affecting command-line options like--branchalongside--concurrency=multiprocessing, since they can'treach the subprocesses. The check only recognized
multiprocessingasthe entire option value, so
--concurrency=multiprocessing,threadslipped through and failed later with "Can't combine statement coverage
data with branch data". Each named concurrency library is now properly
considered (
pull 2270_).Fix:
coverage annotate -d DIRraised anAssertionErrorif anymeasured file had an extension other than
.py, such as a.pywfile onWindows. The original extension is now restored on the annotated copy (
pull 2265_)... _pull 2261: #2261
.. _pull 2262: #2262
.. _pull 2263: #2263
.. _pull 2265: #2265
.. _issue 2266: #2266
.. _pull 2268: #2268
.. _pull 2270: #2270
.. _changes_7-15-4:
v7.15.4Compare Source
Fix: in the HTML report, a source file name containing a double quote (legal
on POSIX) wasn't escaped where it's dropped into the
hrefof the indexand prev/next links, so it could close the attribute early and inject markup.
Page URLs are now escaped. Thanks,
Rajath Mohare <pull 2227_>_.Fix: the LCOV report wrote file names and other fields into its
line-oriented records without neutralizing control characters. A measured
file whose name contained a newline (legal on POSIX) could forge extra
records, inflating the coverage seen by tools that read the report. Control
characters in a field are now replaced. Thanks,
Rajath Mohare <pull 2226_>_.Wheels are now provided for Python 3.15.
.. _pull 2226: #2226
.. _pull 2227: #2227
.. _changes_7-15-3:
v7.15.3Compare Source
Fix: the sysmon core is incompatible with dynamic contexts. Previously, the
combination would be prevented when read from the coverage.py configuration.
But using the context API as pytest-cov does, contexts would be silently
dropped. Now a warning is issued, thanks to
Jisang Han <pull 2234_>.Closes
issue 2200.A performance improvement in the low-level line number bookkeeping when
combining data files, thanks to
Kevin Turcios <pull 2239_>_.Performance improvement in HTML reporting by reducing the number of times
files have to be parsed, thanks to
Kevin Turcios <pull 2240_>_... _issue 2200: #2200
.. _pull 2234: #2234
.. _pull 2239: #2239
.. _pull 2240: #2240
.. _changes_7-15-2:
v7.15.2Compare Source
increased memory use during reporting for large projects. Now we use a
different approach that is both faster and slimmer than 7.15.0. Fixes
issue 2229_... _issue 2229: #2229
.. _changes_7-15-1:
v7.15.1Compare Source
Fix: in the HTML report with
show_contextsenabled, a context labelcontaining
</script>(for example a parametrized pytest node id) couldclose the inline
<script>element in a file page early, injecting markup.Context labels are now fully escaped. Thanks,
Rajath Mohare <pull 2224_>_.A number of performance improvements thanks to Paul Kehrer, in pull requests
2213 <pull 2213_>,2214 <pull 2214_>,2215 <pull 2215_>,2216 <pull 2216_>,2218 <pull 2218_>,2220 <pull 2220_>, and2221 <pull 2221_>_... _pull 2213: #2213
.. _pull 2214: #2214
.. _pull 2215: #2215
.. _pull 2216: #2216
.. _pull 2218: #2218
.. _pull 2220: #2220
.. _pull 2221: #2221
.. _pull 2224: #2224
.. _changes_7-15-0:
django-commons/django-debug-toolbar (django-debug-toolbar)
v8.0.0Compare Source
Changelog
RBNX Studio <https://www.rbnx.studio>_.aria-expandedon panel toggles, anaria-livestatus for history refreshes, and WCAG 2.1 AA contrast in both themes.USE_SHADOW_DOMsetting, which was added in 7.0.0 but was missing from the configuration documentation, and added test coverage for it.What's Changed
cache.get()by @Harsh3006 in #2418New Contributors
Full Changelog: django-commons/django-debug-toolbar@7.1.1...8.0.0
v7.1.1Compare Source
Changelog
What's Changed
Full Changelog: django-commons/django-debug-toolbar@7.1.0...7.1.1
v7.1.0Compare Source
Changelog
django.tasks, Django 6.0+). On older versions of Django, the panel explains that upgrading is required.show_toolbar_with_dockeron Docker runtimes such as OrbStack that can resolvehost.docker.internalto an address outside the container network.What's Changed
New Contributors
Full Changelog: django-commons/django-debug-toolbar@7.0.0...7.1.0
typeddjango/django-stubs (django-stubs)
v6.1.0Compare Source
What's Changed
This is the first Django 6.1 release 🎉
Django 6.0 and 5.2 are now in partial support mode.
Django 5.1 and 5.0 support was dropped (techically they would still work, but we don't test them no more).
Python 3.10 support was dropped.
Feedback is very welcome! 👍
Full Changelog: typeddjango/django-stubs@6.0.9...6.1.0
v6.0.9Compare Source
What's Changed
6.0.8was supposed to be the last6.0.xrelease, but we found several regressions that we wanted to fix.Now we are working on
6.1.0release :)Full Changelog: typeddjango/django-stubs@6.0.8...6.0.9
v6.0.8Compare Source
This is the last release with Django 6.0 full support.
The next release will be focused on Django 6.1 support with Django 6.0 partial support.
What's Changed
contrib.gisby @UnknownPlatypus in #3500objects/_default_managerattributes by @UnknownPlatypus in #3499find_memberby @UnknownPlatypus in #3501db.models,coreandmigrationsby @UnknownPlatypus in #3504core,apps,urlsandadmindocsby @UnknownPlatypus in #3503formsand improve types of lazy regexes by @01xnikhil in #3293django.tasksby @UnknownPlatypus in #3512apps.get_model()by @UnknownPlatypus in #3511settings.INSTALLED_APPSchange and cache full config computation by @UnknownPlatypus in #3514utilsandtemplatesby @UnknownPlatypus in #3513lookup_fully_qualifiedinstead of custom symbol lookup by @UnknownPlatypus in #3519has_baseinstead of a metadata registry by @UnknownPlatypus in #3520Field's by @UnknownPlatypus in #3522LogEntry,FlatPageandRedirectas assignments by @UnknownPlatypus in #3524distinct/update/in_bulkby @UnknownPlatypus in #3168View,TemplateView, andTemplateResponseMixingeneric on response type by @samueljsb in #2874HttpRequestby @bigfootjon in #2239TemplateViewopt-in by @UnknownPlatypus in #3543pyrefly/pyright/tybasic support by @sobolevn in #3562New Contributors
Full Changelog: typeddjango/django-stubs@6.0.7...6.0.8
v6.0.7: Version 6.0.7Compare Source
What's Changed
Field.formfieldkeyword args by @brianhelba in #3443New Contributors
Full Changelog: typeddjango/django-stubs@6.0.6...6.0.7
v6.0.6: Version 6.0.6Compare Source
What's Changed
taskdecorator typing fortakes_context=Trueby @federicobond in #3406validatorsconsistent by @brianhelba in #3433New Contributors
Full Changelog: typeddjango/django-stubs@6.0.5...6.0.6
v6.0.5: Version 6.0.5Compare Source
What's Changed
.annotate()is called on a generic QuerySet by @federicobond in #3379__inlookup by @ngnpope in #3314pyreflyto 1.0.0 by @sobolevn in #3386related_modeltype for mypy 2.1 by @UnknownPlatypus in #3388empty-bodyerror code for mypy and ty by @ngnpope in #3390mark_safeto acceptStrOrPromiseby @Alexerson in #3392unused-ignorecode in pyrefly by @UnknownPlatypus in #3393AdminSite.registertyping by @noamkush in #3387New Contributors
Full Changelog: typeddjango/django-stubs@6.0.4...6.0.5
v6.0.4Compare Source
mypy@2.0support is added.What's Changed
RedisCache._cacheby @sobolevn in #3337analyze_member_accesshelper into helpers module by @UnknownPlatypus in #3339defaultsandcreate_defaultsdict literals by @federicobond in #3326finders.find(all=...)by @UnknownPlatypus in #3352EmailMessage.message()return as stdlibemail.message.EmailMessageby @ahmedasar00 in #3291str/CombinableforAggregate.order_byby @federicobond in #3357__init__stubs by @federicobond in #3359**flagswith explicit kwargs onLibrary.filterby @federicobond in #3360default_aliasfor positional Aggregate inannotate()by @federicobond in #3362New Contributors
Full Changelog: typeddjango/django-stubs@6.0.3...6.0.4
v6.0.3Compare Source
What's Changed
reveal_type()andreveal_locals()by @ngnpope in #3255.values_list()field types on annotated querysets by @federicobond in #3253__eq__to CaseInsensitiveMapping by @hauntsaninja in #3256TypedDictTypedirectly when merging typeddict by @UnknownPlatypus in #3262databasestype inSimpleTestCaseto useLiteral["__all__"]by @ahmedasar00 in #3264.annotate(...)on custom boundQuerySetby @UnknownPlatypus in #3271ignoreDepsto prevent Renovate from updating Python versions by @UnknownPlatypus in #3280WithAnnotationsthrough customQuerySetmethods by @UnknownPlatypus in #3266build_q_object_from_lookup_parametersparameter type by @alessio-b2c2 in #3277ListFilter.used_parametersand params types in admin filter stubs by @alessio-b2c2 in #3187__deepcopy__return type by @ahmedasar00 in #3275namesarg toQuery.names_to_pathtoSequence[str]by @joshuadavidthomas in #3285(a)get_or_createand(a)update_or_createkwargs by @federicobond in #3309New Contributors
Full Changelog: typeddjango/django-stubs@6.0.2...6.0.3
Configuration
📅 Schedule: (UTC)
* * 1 * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.