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

Update django-environ requirement from <0.10,>=0.4 to >=0.4,<0.11 #4078

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2023

Updates the requirements on django-environ to permit the latest version.

Release notes

Sourced from django-environ's releases.

v0.10.0

Added

  • Use the core redis library by default if running Django >= 4.0 #356.
  • Value of dict can now contain an equal sign #241.
  • Added support for Python 3.11.
  • Added CONN_HEALTH_CHECKS to database base options #413.
  • Added encoding parameter to read_env with default value 'utf8' #442.
  • Added support for Django 4.1 #416.

Deprecated

  • Support of Python < 3.6 is deprecated and will be removed in next major version.

Changed

  • Used UTF-8 as a encoding when open .env file.
  • Provided access to DB_SCHEMES through cls rather than Env in db_url_config #414.
  • Correct CI workflow to use supported Python versions/OS matrix #441.
  • Reworked trigger CI workflows strategy #440.

Fixed

  • Fixed logic of Env.get_value() to skip parsing only when default=None, not for all default values that coerce to False #404.
  • Deleted duplicated include in docs/quickstart.rst #439.

Removed

  • Removed deprecated Env.unicode().
  • Removed environ.register_schemes calls and do not modify global urllib.parse.urlparse's uses_* variables as this no longer needed #246.
Changelog

Sourced from django-environ's changelog.

v0.10.0_ - 2-March-2023

Added +++++

  • Use the core redis library by default if running Django >= 4.0 [#356](https://github.com/joke2k/django-environ/issues/356) <https://github.com/joke2k/django-environ/issues/356>_.
  • Value of dict can now contain an equal sign [#241](https://github.com/joke2k/django-environ/issues/241) <https://github.com/joke2k/django-environ/pull/241>_.
  • Added support for Python 3.11.
  • Added CONN_HEALTH_CHECKS to database base options [#413](https://github.com/joke2k/django-environ/issues/413) <https://github.com/joke2k/django-environ/issues/413>_.
  • Added encoding parameter to read_env with default value 'utf8' [#442](https://github.com/joke2k/django-environ/issues/442) <https://github.com/joke2k/django-environ/pull/442>_.
  • Added support for Django 4.1 [#416](https://github.com/joke2k/django-environ/issues/416) <https://github.com/joke2k/django-environ/issues/416>_.

Deprecated ++++++++++

  • Support of Python < 3.6 is deprecated and will be removed in next major version.

Changed +++++++

  • Used UTF-8 as a encoding when open .env file.
  • Provided access to ```DB_SCHEMESthroughcls`` rather than ``Env`` in ``db_url_config`` [#414](https://github.com/joke2k/django-environ/issues/414) <https://github.com/joke2k/django-environ/pull/414>_.
  • Correct CI workflow to use supported Python versions/OS matrix [#441](https://github.com/joke2k/django-environ/issues/441) <https://github.com/joke2k/django-environ/pull/441>_.
  • Reworked trigger CI workflows strategy [#440](https://github.com/joke2k/django-environ/issues/440) <https://github.com/joke2k/django-environ/pull/440>_.

Fixed +++++

  • Fixed logic of Env.get_value() to skip parsing only when default=None, not for all default values that coerce to False [#404](https://github.com/joke2k/django-environ/issues/404) <https://github.com/joke2k/django-environ/issues/404>_.
  • Deleted duplicated include in docs/quickstart.rst [#439](https://github.com/joke2k/django-environ/issues/439) <https://github.com/joke2k/django-environ/pull/439>_.

Removed +++++++

  • Removed deprecated Env.unicode().
  • Removed environ.register_schemes calls and do not modify global urllib.parse.urlparse's uses_* variables as this no longer needed [#246](https://github.com/joke2k/django-environ/issues/246) <https://github.com/joke2k/django-environ/pull/246>_.

v0.9.0_ - 15-June-2022

... (truncated)

Commits
  • 8874288 Merge pull request #443 from joke2k/develop
  • 2191f5d Simplify build and test package distribution
  • 0a7e92a Improve formatting for Contributing
  • 3c1937e Amend contributing documentation
  • 7be412d Update release date
  • 294c451 Correct change log format
  • 47e756a Updated change log
  • dbe5672 Merge pull request #425 from foarsitter/django41
  • a7d208c Merge pull request #442 from joke2k/fix/read_env-encoding
  • 8abbe77 Correct code style
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [django-environ](https://github.com/joke2k/django-environ) to permit the latest version.
- [Release notes](https://github.com/joke2k/django-environ/releases)
- [Changelog](https://github.com/joke2k/django-environ/blob/main/CHANGELOG.rst)
- [Commits](joke2k/django-environ@v0.4...v0.10.0)

---
updated-dependencies:
- dependency-name: django-environ
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 1, 2023
@codecov
Copy link

codecov bot commented Apr 1, 2023

Codecov Report

Merging #4078 (1cde6d5) into master (dc4577e) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4078   +/-   ##
=======================================
  Coverage   87.33%   87.33%           
=======================================
  Files         291      291           
  Lines       15821    15821           
=======================================
  Hits        13818    13818           
  Misses       2003     2003           

@viggo-devries viggo-devries merged commit 0fdc5d9 into master May 5, 2023
13 checks passed
@dependabot dependabot bot deleted the dependabot/pip/django-environ-gte-0.4-and-lt-0.11 branch May 5, 2023 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant