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

deps: update pyglet requirement from <2 to <3 #3615

Merged
merged 8 commits into from
Jan 20, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Updates the requirements on pyglet to permit the latest version.

Release notes

Sourced from pyglet's releases.

v2.1.1

⚠️ This release is part of the new 2.1 series, and has BREAKING CHANGES from the 2.0 series. Please see the migration guide in the documentation for more details: https://pyglet.readthedocs.io/en/latest/programming_guide/migration.html

Bugfixes

  • input.Controller: Fix DirectInput dpad (hat control) regressions.
  • input.Controller: Fix sign calculation bug for devices with analog axis as dpad.
Changelog

Sourced from pyglet's changelog.

pyglet 2.1.1

Bugfixes

  • input.Controller: Fix DirectInput dpad (hat control) regressions.
  • input.Controller: Fix sign calculation bug for devices with analog axis as dpad.

pyglet 2.1.0 Major Release

Changes

  • Changed default argument order to bring consistencty to text Labels and Layouts.
  • For API consistency with other modules, Shapes now use degrees for all applicable objects.
  • Controller events dispatch Vec2s for analog sticks and directional-pad movement.
  • The pyglet.canvas module has been renamed to pyglet.display.

Features

  • More control over DPI scaling for Hi-DPI displays (see pyglet.options.dpi_scaling).
  • Objects in the math module (Vec2/3/4, Mat3/4, Quaternion) are now all immutable and hashable.
  • Shapes now offer a Z property for basic depth sorting.

pyglet 2.0.21

Bugfixes

  • font: Fix DirectWrite bitmap width being cut off for some fonts. (#1253)

pyglet 2.0.20

Changes and Improvements

  • media: add support for FFmpeg 7.x

pyglet 2.0.19

Changes and Improvements

docs: update vertexbuffer.py module docstrings

Bugfixes

  • macos: stop F5 from autocompleting (#1229)
  • input.base: Don't skip Axis Controls without names
  • window.xlib: don't send on_mouse_release events for scrolling (#1235)

... (truncated)

Commits
  • 3a572e4 ready v2.1.1 release
  • e5b271c input.base: minor cleanup
  • 85a2fc2 Merge remote-tracking branch 'origin/master'
  • 41ddd60 Controller: fix signing calculation for analog dpads
  • 697be06 Further proofreading (#1255)
  • b802009 Controller: add dpad bias for Direcinput hat controls
  • ba71b7f Controller: add dpad bias for Direcinput hat controls
  • fb94e23 Merge remote-tracking branch 'origin/master'
  • 7dd568c input.directinput: copy product_guid instead of COM reference.
  • 7bf5749 Proofreading and fixes for Weight and other 2.1 migration (#1254)
  • Additional commits viewable in compare view

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)

Summary by Sourcery

Build:

  • Update the project's dependencies to allow pyglet versions less than 3.0.0.

dependabot bot added 2 commits December 23, 2024 13:56
Updates the requirements on [pyglet](https://github.com/pyglet/pyglet) to permit the latest version.
- [Release notes](https://github.com/pyglet/pyglet/releases)
- [Changelog](https://github.com/pyglet/pyglet/blob/master/RELEASE_NOTES)
- [Commits](pyglet/pyglet@v1.3.3...v2.0.20)

---
updated-dependencies:
- dependency-name: pyglet
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Updates the requirements on [pyglet](https://github.com/pyglet/pyglet) to permit the latest version.
- [Release notes](https://github.com/pyglet/pyglet/releases)
- [Changelog](https://github.com/pyglet/pyglet/blob/master/RELEASE_NOTES)
- [Commits](pyglet/pyglet@v1.3.3...v2.1.1)

---
updated-dependencies:
- dependency-name: pyglet
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 20, 2025
Copy link
Contributor

sourcery-ai bot commented Jan 20, 2025

Reviewer's Guide by Sourcery

This pull request updates the pyglet dependency to allow versions less than 3. This change is made in the pyproject.toml file.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update pyglet dependency to allow versions less than 3.
  • Changed the pyglet dependency from '<2' to '<3' in pyproject.toml
pyproject.toml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

@joamatab
Copy link
Contributor

when i run

import gdsfactory as gf 

c = gf.c.straight()
s = c.to_3d()
s.show()

ImportError: trimesh.viewer.windowed requires pip install "pyglet<2"

Copy link
Contributor

@joamatab joamatab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great! thank you Matthew!

@joamatab joamatab merged commit cb25301 into main Jan 20, 2025
13 checks passed
@joamatab joamatab deleted the dependabot/pip/pyglet-lt-3 branch January 20, 2025 19:57
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants