pytos icon indicating copy to clipboard operation
pytos copied to clipboard

pyinotify requirement is not available on macosx-11.3-x86_64

Open flymg opened this issue 3 years ago • 7 comments

ERROR: Could not find a version that satisfies the requirement pyinotify (from versions: 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6) ERROR: No matching distribution found for pyinotify

Hello TUFIN Team, please fix your dependencies.

flymg avatar Jun 17 '21 07:06 flymg

Hello, Pytos should run on Tufin ST/SC servers and they run on Linux systems.

Shay

schercav avatar Jun 20 '21 07:06 schercav

Oh that's it, ok I think i'm not the only one who got this wrong (see similar windows request)

We thought of this as a client library to do the thinks announced in the README, like a normal Python SDK.

There is no word about that big dependency that this is designed to run on the TUFIN Server only.

flymg avatar Jun 20 '21 07:06 flymg

It is a pity that Pytos does not run on MacOS and Windows. For production we have it running under Debian and Suse and RedHat.

marioland avatar Jun 21 '21 06:06 marioland

Hello,

Pytos should run on TOS, but you can connect via SSH to use debug mode from your MacOS or windows. This is how we use it.

Shay

schercav avatar Jun 21 '21 06:06 schercav

Could you share some instructions how to attach the remote debugger, please?

marioland avatar Jun 21 '21 06:06 marioland

https://www.jetbrains.com/help/pycharm/remote-debugging-with-product.html

schercav avatar Jun 21 '21 06:06 schercav

You can remove the references to FileMonitor in the following code, which will remove the inotify dependency: https://github.com/Tufin/pytos/blob/40853a06a7812f9af475158b936e40e5d9280eca/pytos/common/functions/config.py#L6-L29 https://github.com/Tufin/pytos/blob/40853a06a7812f9af475158b936e40e5d9280eca/requirements.txt#L4

geewrd avatar Jun 21 '21 14:06 geewrd