Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Update dependency django-axes to v6#824

Closed
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/django-axes-6.x
Closed

Update dependency django-axes to v6#824
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/django-axes-6.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 24, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
django-axes <6 -> <7 age adoption passing confidence

Release Notes

jazzband/django-axes

v6.0.1

Compare Source

  • Fine-tune CI pipelines and RTD build requirements.
    [aleksihakli]

v6.0.0

Compare Source

Version 6 is a breaking release. Please see the documentation for upgrade instructions.

  • Deprecate Python 3.7 support.
    [aleksihakli]
  • Deprecate is_admin_site API call with misleading naming.
    [hirotasoshu]
  • Add AXES_LOCKOUT_PARAMETERS configuration flag that will supersede AXES_ONLY_USER_FAILURES, AXES_LOCK_OUT_BY_COMBINATION_USER_AND_IP, AXES_LOCK_OUT_BY_USER_OR_IP, and AXES_USE_USER_AGENT configurations. Add deprecation warnings for old flags. See project documentation on RTD for update instructions.
    [hirotasoshu]
  • Improve translations.
    [hirotasoshu]
  • Use Django cache.incr API for atomic cached failure counting
    [hirotasoshu, aleksihakli]
  • Make django-ipware an optional dependency. Install it with e.g. pip install django-axes[ipware] package and extras specifier. [aleksihakli]
  • Deprecate and rename old configuration flags. Old flags will be removed in or after version 6.1. [aleksihakli]
    • AXES_PROXY_ORDER is now AXES_IPWARE_PROXY_ORDER,
    • AXES_PROXY_COUNT is now AXES_IPWARE_PROXY_COUNT,
    • AXES_PROXY_TRUSTED_IPS is now AXES_IPWARE_PROXY_TRUSTED_IPS, and
    • AXES_META_PRECEDENCE_ORDER is now AXES_IPWARE_META_PRECEDENCE_ORDER.
  • Set 429 as the default lockout response code. [hirotasoshu]

Configuration

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

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

Rebasing: Whenever PR becomes conflicted, 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 Mend Renovate. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented May 24, 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: requirements.txt
Command failed: docker run --rm --name=renovate_sidecar --label=renovate_child -v "/mnt/renovate/gh/yverdon/geocity":"/mnt/renovate/gh/yverdon/geocity" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/containerbase":"/tmp/containerbase" -e PIP_CACHE_DIR -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w "/mnt/renovate/gh/yverdon/geocity" ghcr.io/containerbase/sidecar bash -l -c "install-tool python 3.10.6 && pip install --user pip-tools && pip-compile --resolver=backtracking requirements.in"
/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
    error: subprocess-exited-with-error
    
    × python setup.py egg_info did not run successfully.
    │ exit code: 1
    ╰─> [84 lines of output]
        WARNING: numpy not available!  Array support will not be enabled
        running egg_info
        creating /tmp/pip-pip-egg-info-lp0l_xzt/GDAL.egg-info
        writing /tmp/pip-pip-egg-info-lp0l_xzt/GDAL.egg-info/PKG-INFO
        writing dependency_links to /tmp/pip-pip-egg-info-lp0l_xzt/GDAL.egg-info/dependency_links.txt
        writing requirements to /tmp/pip-pip-egg-info-lp0l_xzt/GDAL.egg-info/requires.txt
        writing top-level names to /tmp/pip-pip-egg-info-lp0l_xzt/GDAL.egg-info/top_level.txt
        writing manifest file '/tmp/pip-pip-egg-info-lp0l_xzt/GDAL.egg-info/SOURCES.txt'
        Traceback (most recent call last):
          File "/tmp/pip-resolve-fs1v39jq/gdal_eab78a34096f4af5927947e4e231d89e/setup.py", line 87, in fetch_config
            p = subprocess.Popen([command, args], stdout=subprocess.PIPE)
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/subprocess.py", line 969, in __init__
            self._execute_child(args, executable, preexec_fn, close_fds,
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/subprocess.py", line 1845, in _execute_child
            raise child_exception_type(errno_num, err_msg, err_filename)
        FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config'
        
        During handling of the above exception, another exception occurred:
        
        Traceback (most recent call last):
          File "/tmp/pip-resolve-fs1v39jq/gdal_eab78a34096f4af5927947e4e231d89e/setup.py", line 188, in get_gdal_config
            return fetch_config(option, gdal_config=self.gdal_config)
          File "/tmp/pip-resolve-fs1v39jq/gdal_eab78a34096f4af5927947e4e231d89e/setup.py", line 90, in fetch_config
            raise gdal_config_error(e)
        __main__.gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
        
        During handling of the above exception, another exception occurred:
        
        Traceback (most recent call last):
          File "<string>", line 2, in <module>
          File "<pip-setuptools-caller>", line 34, in <module>
          File "/tmp/pip-resolve-fs1v39jq/gdal_eab78a34096f4af5927947e4e231d89e/setup.py", line 350, in <module>
            setup(
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
            return distutils.core.setup(**attrs)
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 177, in setup
            return run_commands(dist)
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
            dist.run_commands()
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
            self.run_command(cmd)
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
            super().run_command(command)
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
            cmd_obj.run()
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 307, in run
            self.find_sources()
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 314, in find_sources
            mm.run()
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 549, in run
            self.add_defaults()
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 586, in add_defaults
            sdist.add_defaults(self)
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 252, in add_defaults
            self._add_defaults_ext()
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
            build_ext = self.get_finalized_command('build_ext')
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 304, in get_finalized_command
            cmd_obj.ensure_finalized()
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 107, in ensure_finalized
            self.finalize_options()
          File "/tmp/pip-resolve-fs1v39jq/gdal_eab78a34096f4af5927947e4e231d89e/setup.py", line 255, in finalize_options
            gdaldir = self.get_gdal_config('prefix')
          File "/tmp/pip-resolve-fs1v39jq/gdal_eab78a34096f4af5927947e4e231d89e/setup.py", line 194, in get_gdal_config
            raise gdal_config_error(traceback_string + '\n' + msg)
        __main__.gdal_config_error: Traceback (most recent call last):
          File "/tmp/pip-resolve-fs1v39jq/gdal_eab78a34096f4af5927947e4e231d89e/setup.py", line 87, in fetch_config
            p = subprocess.Popen([command, args], stdout=subprocess.PIPE)
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/subprocess.py", line 969, in __init__
            self._execute_child(args, executable, preexec_fn, close_fds,
          File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/subprocess.py", line 1845, in _execute_child
            raise child_exception_type(errno_num, err_msg, err_filename)
        FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config'
        
        During handling of the above exception, another exception occurred:
        
        Traceback (most recent call last):
          File "/tmp/pip-resolve-fs1v39jq/gdal_eab78a34096f4af5927947e4e231d89e/setup.py", line 188, in get_gdal_config
            return fetch_config(option, gdal_config=self.gdal_config)
          File "/tmp/pip-resolve-fs1v39jq/gdal_eab78a34096f4af5927947e4e231d89e/setup.py", line 90, in fetch_config
            raise gdal_config_error(e)
        gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
        
        Could not find gdal-config. Make sure you have installed the GDAL native library and development headers.
        [end of output]
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
Traceback (most recent call last):
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata
    call_subprocess(
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess
    raise error
pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/ubuntu/.local/bin/pip-compile", line 8, in <module>
    sys.exit(cli())
  File "/home/ubuntu/.local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/piptools/scripts/compile.py", line 592, in cli
    results = resolver.resolve(max_rounds=max_rounds)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/piptools/resolver.py", line 593, in resolve
    is_resolved = self._do_resolve(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/piptools/resolver.py", line 625, in _do_resolve
    resolver.resolve(
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
    result = self._result = resolver.resolve(
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve
    self._add_to_criteria(self.state.criteria, r, parent=None)
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria
    if not criterion.candidates:
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__
    return bool(self._sequence)
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__
    return any(self)
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>
    return (c for c in iterator if id(c) not in self._incompatible_ids)
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
    candidate = func()
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
    self._link_candidate_cache[link] = LinkCandidate(
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__
    super().__init__(
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__
    self.dist = self._prepare()
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare
    dist = self._prepare_distribution()
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution
    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 516, in prepare_linked_requirement
    return self._prepare_linked_requirement(req, parallel_builds)
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 631, in _prepare_linked_requirement
    dist = _get_prepared_distribution(
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata
    self.req.prepare_metadata()
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/req/req_install.py", line 561, in prepare_metadata
    self.metadata_directory = generate_metadata_legacy(
  File "/opt/buildpack/tools/python/3.10.6/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata
    raise MetadataGenerationFailed(package_details=details) from error
pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed

@monodo monodo closed this Jun 6, 2023
@monodo monodo deleted the renovate/django-axes-6.x branch June 6, 2023 10:59
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.

1 participant