Comments (14)
Python 2 reached its end of life
from robot-testing-framework.
Hi guys,
allways glad to hear from you even it is an issue ;)
I am a bit out of the discussion. we are using RTF mostly woth python (2.7) and everything is fine. is the main issue with Python 3.x?
from robot-testing-framework.
Hi @apaikan ,
happy to hear from you, hope everything is ok.
Back in the days I tried to get RTF to work on Python 3, but I was unable to port all the part using Py_InitModule4
(around https://github.com/robotology/robot-testing/blob/c7c00459f721648c8f74f973a881d9078a206c50/src/plugins/python/src/PythonPluginLoader.cpp#L134) to use Python 3, that changed that APIs. https://docs.python.org/3/howto/cporting.html is probably useful, but I was unable to get it to work.
Given that Python 2 will be officially unsupported in less than 10 months (see https://pythonclock.org/) I was trying to raise awareness on this issue.
from robot-testing-framework.
2 months left to python 2 end of life, and still no python 3 support 😞
from robot-testing-framework.
The C API of the Python interpreter changed between Python 2 and Python 3, and we use it in
. Some notes about a previous failed attempt to port (but I did not spent a lot of time on it) can be found in #37 (comment) .from robot-testing-framework.
@traversaro which versions of python have been installed?
anyway, there is a cmake option RTF_USE_PYTHON_VERSION
to force using specific version of python for binding. can you please check it?
from robot-testing-framework.
Checked it, the problem is that some RTF is not compatible with Python 3. Working on it right now.
from robot-testing-framework.
Relevant link: https://docs.python.org/2/howto/cporting.html .
from robot-testing-framework.
Giving up as for the moment I don't know enough of Python internals to do it (especially to properly substitute the Py_InitModule4
function), just preselecting Python 2 in the cmake for now and opening a new issue to track Python 3 support.
from robot-testing-framework.
Relevant: https://pythonclock.org/ .
from robot-testing-framework.
The Python clock is rapidly ticking. : )
If we do not think we can commit effort to fix this, probably the cleanest thing to do is just to drop Python support in RTF.
@aerydna @drdanz @lornat75
from robot-testing-framework.
Given that Python 2 will be officially unsupported in less than 10 months (see https://pythonclock.org/) I was trying to raise awareness on this issue.
I didn't know about it... WONDERFUL ❤️
I agree, or we port it, or we drop it 😬
from robot-testing-framework.
i am for dropping the compatibility
from robot-testing-framework.
But what is the main incompatibility issue?
What it is blocking ?
from robot-testing-framework.
Related Issues (20)
- Rename RTF HOT 14
- Handle RPATH HOT 1
- Broken documentation website HOT 2
- The doxygen documentation should be regenerated HOT 1
- Compilation fails when using TinyXML installed from vcpkg
- Permit to specify directory where to load plugins from without using LD_LIBRARY_PATH/PATH HOT 1
- Adding timeout parameter to testrunner HOT 1
- Doxygen generated documentation is outdated HOT 8
- How to manage the addition of [[noreturn]] in RTF_ASSERT HOT 3
- RTF_TEST_FAIL_IF macro logic is inverted HOT 8
- order and dependencies in TestSuit HOT 3
- Test that fails to load in a test suite do not count as failed tests HOT 3
- Add changelog for each release in `doc/release` HOT 1
- FixturePluginLoader test get stuck on Win32 if compiled in Debug HOT 2
- Support compiling as a shared library in Windows HOT 1
- Broken links in Readme HOT 4
- Provide a way to set an enviroment variable for just a test HOT 1
- Plugins do not work when -fvisibility=hidden is set HOT 2
- Improvements to the progress canvas in web-reporter HOT 1
- RTF should have a 1.5.0 release HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robot-testing-framework.