Skip to content

Conversation

@anmyachev
Copy link
Contributor

No description provided.

@anmyachev anmyachev linked an issue Nov 28, 2024 that may be closed by this pull request
except importlib.metadata.PackageNotFoundError:
raise AssertionError(assertion_message)

if Version(sycl_rt.get("version", "0.0.0")) in SpecifierSet("<2025.0.0a1"):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This check is quite easy to emulate using strings and their methods. I think using packaging here is overcomplicating.

@anmyachev anmyachev marked this pull request as ready for review November 28, 2024 13:32
Signed-off-by: Anatoly Myachev <[email protected]>
Copy link
Contributor

@pbchekin pbchekin left a comment

Choose a reason for hiding this comment

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

The check for version can be improved IMHO, but it is good enough for now. We can revisit later

@anmyachev anmyachev merged commit e37cb4a into main Nov 28, 2024
6 checks passed
@anmyachev anmyachev deleted the amyachev/remove-packaging branch November 28, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider remove packaging from dependencies

3 participants