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

chore(deps): update dependency django-stubs to v4.2.7 #187

Merged
merged 1 commit into from
Dec 30, 2023

Conversation

descope[bot]
Copy link
Contributor

@descope descope bot commented Dec 30, 2023

This PR contains the following updates:

Package Type Update Change
django-stubs (changelog) dev patch 4.2.3 -> 4.2.7

Release Notes

typeddjango/django-stubs (django-stubs)

v4.2.7

Compare Source

Headline changes

  • mypy 1.7: Recommended mypy version updated to 1.7.x
  • Improved type inference for ManyToManyField and Model.<manytomany>.through
  • If you previously imported RelatedManager or ManyRelatedManager, update those to django-stubs-ext:
    from django_stubs_ext.db.models.manager import ManyRelatedManager, RelatedManager
  • It's now allowed to override Django's @cached_property properties with class variables or @property properties.
  • Even though Django 5.0 was released yesterday, this version does not yet include any changes specific to Django 5.0.

Plugin improvements

django-stubs-ext

Stubs fixes

Stubs improvements

Stubs improvements: @​cached_property

Housekeeping

New Contributors

Full Changelog: typeddjango/django-stubs@4.2.6...4.2.7

v4.2.6

Compare Source

Headline changes

  • Fixed several bugs in version 4.2.5. Thanks to everyone for contributing fixes on a short order!

  • Removed direct mypy dependency. If you are using mypy, please add an explicit mypy dev dependency to your project, or install django-stubs with the extra django-stubs[compatible-mypy].

    Mypy remains the only supported type checker. Improvements for other type checkers may be considered in the future, pull requests welcome. See #​1628 for details.

Plugin fixes

Stubs fixes

Stubs improvements

Housekeeping

Full Changelog: typeddjango/django-stubs@4.2.5...4.2.6

v4.2.5

Compare Source

Headline changes

  • mypy 1.6: Recommended mypy version updated to 1.6.x

  • Next django-stubs version (4.2.6) will remove direct mypy dependency. If you are using mypy, please add an explicit mypy dev dependency to your project, or install django-stubs with the extra django-stubs[compatible-mypy].

    Mypy remains the only supported type checker. Improvements for other type checkers may be considered in the future, pull requests welcome. See #​1628 for details.

  • Officially added Python 3.12 support

Stubs fixes

Stubs improvements

Plugin improvements

Plugin crash fixes

Documentation

Housekeeping

New Contributors

Full Changelog: typeddjango/django-stubs@4.2.4...4.2.5

v4.2.4

Compare Source

Most important changes:

  • This version add Mypy 1.5.* support and update [compatible-mypy] extra to use 1.5.*.
  • We also update our stubs to be compatible with Django 4.2.5 (and all prior versions of 4.2).
  • django_stubs_ext/ folder was renamed to be just ext/, it should not affect users (unless you install it from git)
  • We no longer assume the objects attribute to be present on generic Model classes. As per the django documentation, code working with generic models should use the _default_manager attribute instead.

This time there is no corresponding release of django-stubs-ext.

Plugin changes

Thanks a lot to all contributors and maintainers! 🎉


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR has been generated by Renovate Bot.

@descope descope bot added the renovate label Dec 30, 2023
@descope descope bot enabled auto-merge (squash) December 30, 2023 21:45
@descope
Copy link
Contributor Author

descope bot commented Dec 30, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...


The current project's Python requirement (>=3.8.1,<4.0) is not compatible with some of the required packages Python requirement:
  - pre-commit requires Python >=3.9, so it will not be satisfied for Python >=3.8.1,<3.9

Because django-descope depends on pre-commit (3.6.0) which requires Python >=3.9, version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For pre-commit, a possible solution would be to set the `python` property to ">=3.9,<4.0"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

@descope descope bot merged commit 27cea89 into main Dec 30, 2023
29 of 30 checks passed
@descope descope bot deleted the renovate/django-stubs-4.x branch December 30, 2023 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants