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

Add --32bit flag #27

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

Add --32bit flag #27

wants to merge 28 commits into from

Conversation

tusharsadhwani
Copy link
Owner

@tusharsadhwani tusharsadhwani commented Jun 29, 2024

  • fix all todos

@LexiconCode
Copy link

I would be willing to help test

# already installed
python_bin_path = _python_bin_path(python_folder)
return python_folder_name, python_bin_path
if force_32bit and python_folder_name.endswith(SUFFIX_32BIT):
Copy link

@LexiconCode LexiconCode Aug 14, 2024

Choose a reason for hiding this comment

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

When using force_32bit the python_folder_name does not have a 32bit suffix.
Steps to reproduce:

  1. ensure_python(python_version = 3.10.14, force_32bit = false)
  2. ensure_python(python_version = 3.10.14, force_32bit = true)
  3. The 32bit python environment overwrites the 64bit python environment in .yen_pythons

Copy link
Owner Author

Choose a reason for hiding this comment

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

thanks for catching this! I'll be working on this pr later today.

Choose a reason for hiding this comment

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

Well looks like I missed your todo # TODO: use suffix_32bit here :)

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