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

Bump jinja2 from 3.1.3 to 3.1.4 #247

Merged
merged 1 commit into from
Jun 8, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 6, 2024

Bumps jinja2 from 3.1.3 to 3.1.4.

Release notes

Sourced from jinja2's releases.

3.1.4

This is the Jinja 3.1.4 security release, which fixes security issues and bugs but does not otherwise change behavior and should not result in breaking changes.

PyPI: https://pypi.org/project/Jinja2/3.1.4/ Changes: https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-4

  • The xmlattr filter does not allow keys with / solidus, > greater-than sign, or = equals sign, in addition to disallowing spaces. Regardless of any validation done by Jinja, user input should never be used as keys to this filter, or must be separately validated first. GHSA-h75v-3vvj-5mfj
Changelog

Sourced from jinja2's changelog.

Version 3.1.4

Released 2024-05-05

  • The xmlattr filter does not allow keys with / solidus, > greater-than sign, or = equals sign, in addition to disallowing spaces. Regardless of any validation done by Jinja, user input should never be used as keys to this filter, or must be separately validated first. :ghsa:h75v-3vvj-5mfj
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@github-actions github-actions bot removed the python label May 7, 2024
@per1234 per1234 self-assigned this May 9, 2024
@per1234 per1234 added topic: security Related to the protection of user data type: imperfection Perceived defect in any part of project labels Jun 8, 2024
@per1234
Copy link
Contributor

per1234 commented Jun 8, 2024

I investigated the failing integration test workflow run on the macOS runner:

https://github.com/arduino/arduino-fwuploader/actions/runs/8975530722/job/24757693726?pr=247#step:8:218

ChefBuildError

  Backend subprocess exited when trying to invoke get_requires_for_build_wheel
  
  running egg_info
  writing lib3/PyYAML.egg-info/PKG-INFO
  writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
  writing top-level names to lib3/PyYAML.egg-info/top_level.txt
  Traceback (most recent call last):
    File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module>
      main()
    File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main
      json_out["return_val"] = hook(**hook_input["kwargs"])
    File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 134, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
      self.run_setup()
github.com/arduino/arduino-cli/version
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
github.com/spf13/afero/mem
      exec(code, locals())
    File "<string>", line 271, in <module>
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/__init__.py", line 104, in setup
github.com/spf13/afero
      return distutils.core.setup(**attrs)
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 184, in setup
      return run_commands(dist)
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
      dist.run_commands()
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
exit status 1
      self.run_command(cmd)
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
      super().run_command(command)
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 321, in run
      self.find_sources()
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 329, in find_sources
      mm.run()
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 550, in run
      self.add_defaults()
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 588, in add_defaults
      sdist.add_defaults(self)
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/command/sdist.py", line 102, in add_defaults
      super().add_defaults()
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/sdist.py", line [250](https://github.com/arduino/arduino-fwuploader/actions/runs/8975530722/job/24757693726?pr=247#step:8:251), in add_defaults
      self._add_defaults_ext()
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/sdist.py", line 335, in _add_defaults_ext
      self.filelist.extend(build_ext.get_source_files())
    File "<string>", line 201, in get_source_files
    File "/private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmp3ds4zja2/.venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
      raise AttributeError(attr)
  AttributeError: cython_sources
  

  at /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/poetry/installation/chef.py:164 in _prepare
      160│ 
      161│                 error = ChefBuildError("\n\n".join(message_parts))
      162│ 
      163│             if error is not None:
    → 164│                 raise error from None
      165│ 
      166│             return path
      167│ 
      168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with pyyaml (5.4.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pyyaml (==5.4.1)"'.

I found this also occurs at the tip of the main branch, so is not caused by the changes proposed here.

@per1234 per1234 merged commit ab6fc04 into main Jun 8, 2024
44 of 48 checks passed
@per1234 per1234 deleted the dependabot/pip/jinja2-3.1.4 branch June 8, 2024 12:04
@per1234 per1234 added topic: infrastructure Related to project infrastructure and removed dependencies labels Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure topic: security Related to the protection of user data type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant