Hello everyone,
It's been some time since the last announcement, but due to recent events and changes, another one is due.
First of all: Two months ago, a Valve update made Source.Python unusable for some games (CS:S, TF2, DOD:S). Actually, Source.Python should have just been recompiled after the SDK update. However, the problem was that Source.Python used a fairly old C++ standard and this was not compatible with the new SDK. To adapt the C++ standard, new GCC/Visual Studio versions were required. However, this led to problems with the precompiled libraries (Python, Boost, DynamicHooks, SDK, etc.). The libraries therefore had to be recompiled and it made sense to update everything straight away.
So, Source.Python is now running Python 3.13, all site packages have been updated and some issues and pull requests from Github have been fixed or merged and the games are working again!
From 3.6 to 3.13. This is a huge leap of about 8 years of development work on Python. A lot has changed in Python during this time and it's worth taking a look at the official site:
https://docs.python.org/3/whatsnew/3.13.html
Most of you have probably done this from time to time and used newer Python versions in other projects. But if not, check out the changes of the last years. There are some really cool new features.
Because we have also updated the site packages, there are some incompatibilities. I only noticed most of them in the “path” module. The module is now a package and some functions and properties are now called differently:
isdir -> is_dir
isfile -> is_file
ext -> suffix
namebase -> stem
listdir -> iterdir
There are certainly some other adjustments that we need to make in Source.Python or the plugins.
If you find them, feel free to post them here to help others migrating their plugins.
Anyway, we are now pretty up to date. Have fun!
Python 3.13, site packages and other updates
Re: Python 3.13, site packages and other updates
Thats is awsome good job guys!!
Return to “News & Announcements”
Who is online
Users browsing this forum: No registered users and 37 guests