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 deprecation #636

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Fix deprecation #636

merged 2 commits into from
Aug 30, 2024

Conversation

neworderofjamie
Copy link
Contributor

@neworderofjamie neworderofjamie commented Aug 30, 2024

Fixed a couple of minor issues:

  • distutils and hence distutils.spawn.find_executable is deprecated, replace with shutil.which. Only reason we didn't do this before was because GeNN 4.X tried to maintain Python 2.7 compatibility.
  • setuptools 74 gets rid of the module of Visual Studio magic helpers which we use to find the compiler on Windows. For now have just restricted setuptools to < 74 (This also affects Brian brian2 import fails with latest setuptools (version 74.0.0) brian-team/brian2#1557)

@neworderofjamie neworderofjamie added this to the GeNN 5.1.0 milestone Aug 30, 2024
Copy link
Member

@tnowotny tnowotny left a comment

Choose a reason for hiding this comment

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

Sure, one needs to do what needs to be done. Bitrot is very annoying.

@neworderofjamie neworderofjamie merged commit 1bb140f into master Aug 30, 2024
1 check was pending
@neworderofjamie neworderofjamie deleted the remove_deprecated_distutils branch August 30, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants