-
Notifications
You must be signed in to change notification settings - Fork 62
OMCPath #317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
OMCPath #317
Conversation
7514c47
to
13fec2c
Compare
* not working: 3.10 * working: 3.12
c8bddac
to
b59e473
Compare
* use modified pathlib.Path as OMCPath
03a35a9
to
1b64550
Compare
* this is scripting output and, thus, it cannot be parsed
@Sonyoyo could you please test if this is working on WSL and provide some feedback? I'm just coding blind regarding this option ... Feel free to use the testcase in |
@ondras12345 could you please advice on the unittest? In |
see commit ID: aa74b36 - [OMCPath] add more functionality and docstrings
* differentiate between * Python >= 3.12 uses OMCPath based on OMC for filesystem operation * Python < 3.12 uses a pathlib.Path based implementation which is limited to OMCProcessLocal
new class OMCPath which implements path handling based on OMC commands
currently just a prove of concept with a test case using docker
see issue #315 and PR #309
Important: due to limitations in pathlib.Path, this is not working for Python < 3.12! - I'm testing compatibility but got no overall success (local Linux seems to work / Windows fails for 3.10)