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

Fix erronenous glam version #9653

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Conversation

nicopap
Copy link
Contributor

@nicopap nicopap commented Aug 31, 2023

Objective

  • Fix compilation issue with wrongly specified glam version
  • bevy uses Vec2::INFINITY, depends on 0.24 (equivalent to 0.24.0) yet it was only introduced in version 0.24.1

Context: https://discord.com/channels/691052431525675048/692572690833473578/1146586570787397794

Solution

  • Bump glam version.

@nicopap nicopap added C-Dependencies A change to the crates that Bevy depends on P-Compile-Failure A failure to compile Bevy apps labels Aug 31, 2023
@hymm
Copy link
Contributor

hymm commented Aug 31, 2023

The only one of these that has to be bumped is bevy_math. Do we have any policy for keeping the versions across crates in sync?

@IceSentry
Copy link
Contributor

I'm not aware of any policy but it makes sense to me to just keep the same version everywhere

@nicopap
Copy link
Contributor Author

nicopap commented Aug 31, 2023

It's just better to keep them in sync.

Copy link
Member

@mockersf mockersf left a comment

Choose a reason for hiding this comment

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

It's just better to keep them in sync.

I (probably) disagree in theory. Bumping everywhere for a specific case reduces compatibility for people that don't use that case.

That said, I don't think we should care about that for Bevy for now when our current compatibility policy is "just update everything"

@alice-i-cecile alice-i-cecile added this pull request to the merge queue Aug 31, 2023
Merged via the queue into bevyengine:main with commit ee3cc8c Aug 31, 2023
27 of 28 checks passed
@nicopap nicopap deleted the glam-version-fix branch September 3, 2023 07:54
rdrpenguin04 pushed a commit to rdrpenguin04/bevy that referenced this pull request Jan 9, 2024
# Objective

- Fix compilation issue with wrongly specified glam version
- bevy uses `Vec2::INFINITY`, depends on `0.24` (equivalent to `0.24.0`)
yet it was only introduced in version `0.24.1`

Context:
https://discord.com/channels/691052431525675048/692572690833473578/1146586570787397794

## Solution

- Bump glam version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Dependencies A change to the crates that Bevy depends on P-Compile-Failure A failure to compile Bevy apps
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants