Skip to content

Fix erronenous glam version#9653

Merged
alice-i-cecile merged 1 commit intobevyengine:mainfrom
nicopap:glam-version-fix
Aug 31, 2023
Merged

Fix erronenous glam version#9653
alice-i-cecile merged 1 commit intobevyengine:mainfrom
nicopap:glam-version-fix

Conversation

@nicopap
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

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

@nicopap
Copy link
Copy Markdown
Contributor Author

nicopap commented Aug 31, 2023

It's just better to keep them in sync.

Copy link
Copy Markdown
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
@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