Skip to content

Remove deprecated parts of OMCPath #346

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

Open
wants to merge 33 commits into
base: master
Choose a base branch
from

Conversation

syntron
Copy link
Contributor

@syntron syntron commented Aug 16, 2025

this removes the compatibility layer for PR #314 (OMCPath); this can be applied as soon as OMPython suports only Python >= 3.12 (version/ milestone 5.0.0?)

syntron added 30 commits August 16, 2025 14:49
* not working: 3.10
* working:     3.12
* use modified pathlib.Path as OMCPath
* this is scripting output and, thus, it cannot be parsed
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
error: "unlink" of "OMCPathReal" does not return a value (it only ever returns None)  [func-returns-value]
@syntron
Copy link
Contributor Author

syntron commented Aug 21, 2025

@adeas31 could you please set milestone 5.0.0 for this PR? If Python < 3.12 is still supported at that time, it could be moved to a later point; however, I think it is important to keep this PR in sight / stay aware of it

@adeas31 adeas31 added this to the 5.0.0 milestone Aug 22, 2025
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