Title: gh-128846: Add check_tk_version function to test.support by smontanaro · Pull Request #128880 · python/cpython · GitHub
Open Graph Title: gh-128846: Add check_tk_version function to test.support by smontanaro · Pull Request #128880 · python/cpython
X Title: gh-128846: Add check_tk_version function to test.support by smontanaro · Pull Request #128880 · python/cpython
Description: I've been burned more than once I think about mysterious test failures when my local version of Tk is newer than what's supported in Python code. This PR is an attempt to make it clearer for dummies like me why. A couple things: I'm not sure this version check would necessarily be required for test_ttk_textonly. Belt and suspenders, I suppose. The max version number is encoded in the check_tk_version() function. That's maybe not the best place for it. Perhaps it should be a global in test/support/__init__.py instead? I didn't want to replicate it in various places. Issue: gh-128846
Open Graph Description: I've been burned more than once I think about mysterious test failures when my local version of Tk is newer than what's supported in Python code. This PR is an attempt to make it clearer fo...
X Description: I've been burned more than once I think about mysterious test failures when my local version of Tk is newer than what's supported in Python code. This PR is an attempt to make it cl...
Opengraph URL: https://github.com/python/cpython/pull/128880
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ec9eaa41-722e-c7ff-9441-5de86d04eace |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 87C6:3BE023:129D972:1914C6D:6A5454AD |
| html-safe-nonce | 628bdc223a84c7d93d4a448fd0889b6f7fb03c511caabe0fa3c9585399d21211 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0M2OjNCRTAyMzoxMjlEOTcyOjE5MTRDNkQ6NkE1NDU0QUQiLCJ2aXNpdG9yX2lkIjoiODQ2OTE1NjMwNjk1NDcwMjU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e411c0015a40282d068b79fe10fe4bebc64104eb3cce5881440630e8545716f7 |
| hovercard-subject-tag | pull_request:2279347221 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/128880/files |
| twitter:image | https://avatars.githubusercontent.com/u/3427745?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3427745?s=400&v=4 |
| og:image:alt | I've been burned more than once I think about mysterious test failures when my local version of Tk is newer than what's supported in Python code. This PR is an attempt to make it clearer fo... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width