Skip to content

Comments

Follow-up minor refactoring of transparent Python upgrade code#14029

Merged
jtfmumm merged 2 commits intofeature/transparent-python-upgradesfrom
jtfm/review-transparent-python-upgrade
Jun 13, 2025
Merged

Follow-up minor refactoring of transparent Python upgrade code#14029
jtfmumm merged 2 commits intofeature/transparent-python-upgradesfrom
jtfm/review-transparent-python-upgrade

Conversation

@jtfmumm
Copy link
Contributor

@jtfmumm jtfmumm commented Jun 13, 2025

This PR:

  • renames PythonMinorVersionLink::symlink_exists() to ..::exists
  • avoids rediscovering installations by chaining together new installations with pre-existing installations when searching for the highest patch per minor version key
  • renames a couple of related errors and updates their messages to be more specific
  • renames create_bin_link to create_link_to_executable
  • removes a constructor that is no longer used (PythonMinorVersinLink::from_interpreter())

@jtfmumm jtfmumm added the internal A refactor or improvement that is not user-facing label Jun 13, 2025
@jtfmumm jtfmumm marked this pull request as ready for review June 13, 2025 15:21
@jtfmumm jtfmumm merged commit 2a0ccc9 into feature/transparent-python-upgrades Jun 13, 2025
86 checks passed
@jtfmumm jtfmumm deleted the jtfm/review-transparent-python-upgrade branch June 13, 2025 17:05
jtfmumm added a commit that referenced this pull request Jun 13, 2025
This PR:
* renames `PythonMinorVersionLink::symlink_exists()` to `..::exists`
* avoids rediscovering installations by chaining together new
installations with pre-existing installations when searching for the
highest patch per minor version key
* renames a couple of related errors and updates their messages to be
more specific
* renames `create_bin_link` to `create_link_to_executable`
* removes a constructor that is no longer used
(`PythonMinorVersinLink::from_interpreter()`)
jtfmumm added a commit that referenced this pull request Jun 13, 2025
This PR:
* renames `PythonMinorVersionLink::symlink_exists()` to `..::exists`
* avoids rediscovering installations by chaining together new
installations with pre-existing installations when searching for the
highest patch per minor version key
* renames a couple of related errors and updates their messages to be
more specific
* renames `create_bin_link` to `create_link_to_executable`
* removes a constructor that is no longer used
(`PythonMinorVersinLink::from_interpreter()`)
jtfmumm added a commit that referenced this pull request Jun 13, 2025
This PR:
* renames `PythonMinorVersionLink::symlink_exists()` to `..::exists`
* avoids rediscovering installations by chaining together new
installations with pre-existing installations when searching for the
highest patch per minor version key
* renames a couple of related errors and updates their messages to be
more specific
* renames `create_bin_link` to `create_link_to_executable`
* removes a constructor that is no longer used
(`PythonMinorVersinLink::from_interpreter()`)
jtfmumm added a commit that referenced this pull request Jun 16, 2025
This PR:
* renames `PythonMinorVersionLink::symlink_exists()` to `..::exists`
* avoids rediscovering installations by chaining together new
installations with pre-existing installations when searching for the
highest patch per minor version key
* renames a couple of related errors and updates their messages to be
more specific
* renames `create_bin_link` to `create_link_to_executable`
* removes a constructor that is no longer used
(`PythonMinorVersinLink::from_interpreter()`)
jtfmumm added a commit that referenced this pull request Jun 17, 2025
This PR:
* renames `PythonMinorVersionLink::symlink_exists()` to `..::exists`
* avoids rediscovering installations by chaining together new
installations with pre-existing installations when searching for the
highest patch per minor version key
* renames a couple of related errors and updates their messages to be
more specific
* renames `create_bin_link` to `create_link_to_executable`
* removes a constructor that is no longer used
(`PythonMinorVersinLink::from_interpreter()`)
jtfmumm added a commit that referenced this pull request Jun 18, 2025
This PR:
* renames `PythonMinorVersionLink::symlink_exists()` to `..::exists`
* avoids rediscovering installations by chaining together new
installations with pre-existing installations when searching for the
highest patch per minor version key
* renames a couple of related errors and updates their messages to be
more specific
* renames `create_bin_link` to `create_link_to_executable`
* removes a constructor that is no longer used
(`PythonMinorVersinLink::from_interpreter()`)
jtfmumm added a commit that referenced this pull request Jun 20, 2025
This PR:
* renames `PythonMinorVersionLink::symlink_exists()` to `..::exists`
* avoids rediscovering installations by chaining together new
installations with pre-existing installations when searching for the
highest patch per minor version key
* renames a couple of related errors and updates their messages to be
more specific
* renames `create_bin_link` to `create_link_to_executable`
* removes a constructor that is no longer used
(`PythonMinorVersinLink::from_interpreter()`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants