Skip to content

Conversation

JTJag
Copy link

@JTJag JTJag commented Mar 29, 2025

Improved the dependency update script to automatically use the latest available versions, while keeping the current major version to avoid breaking changes.

Improved the dependency update script to automatically use the latest available versions, while keeping the current major version to avoid breaking changes.
diprog added a commit to diprog/python-tls-client-async that referenced this pull request May 12, 2025
…ed on FlorianREGAZ#138)

Refactored `update_shared_library.py` to dynamically fetch the latest release matching major version 1.x from bogdanfinn/tls-client.

Key improvements:
- Removed hardcoded version in favor of dynamic resolution
- Fetches latest release with major version "1.x" using GitHub API
- Uses regex to strip version numbers from asset filenames
- Added a mapping for consistent local renaming of binaries
- Improved maintainability and reliability across OS platforms

This implementation is inspired by and adapted from FlorianREGAZ#138, which improves dependency management by avoiding manual version updates.

Original PR: FlorianREGAZ#138
@mhariri
Copy link

mhariri commented Jul 25, 2025

@FlorianREGAZ thanks a lot for this library! Can we get this merged?

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