Skip to content

Conversation

blair-ni
Copy link
Collaborator

@blair-ni blair-ni commented Nov 8, 2022

What does this Pull Request accomplish?

Similar to what was done in requirements.txt, pin the version of pythonnet to 2.5.2 or compatible.

Why should this Pull Request be merged?

When testing the built WHL file, I noticed that pythonnet 3 was still installed despite updating requirements.txt. It turns out that we need to update install_requires in setup.py as well.

What testing has been done?

Built locally (via python setup.py bdist_wheel --universal) and installed the WHL file using pip on a clean venv. Then ran pip list to verify that pythonnet 2.5.2 was installed.

When testing the built WHL file, I noticed that pythonnet 3 is still installed despite updating requirements.txt. It turns out that we need to update `install_requires` in setup.py as well.
@blair-ni blair-ni merged commit 0cbcdb9 into ni:master Nov 8, 2022
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.

2 participants