Concerning Python patch 3.6.12-socketmodule.patch -- ping Marco
Hi Marco, When I said "could you handle" I meant I would author the revised patch, test it locally, and pass it on to you to integrate into the Cygwin Python packages. Does that sound workable to you? Thank you, ..mark Forwarded Message Subject: Concerning Python patch 3.6.12-socketmodule.patch Date: Mon, 7 Nov 2022 23:07:02 -0800 From: Mark Geisert To: cygwin-apps@cygwin.com Hi Marco, Recently there's been a complaint about that patch on the Cygwin mailing list. The patch was meant to allow same-machine communication between Cygwin Python programs via an AF_UNIX socket. The patch works because both ends of the connection are Python programs that have the patch. The problem reported by the user is that when a Python program attempts to communicate with ssh-agent, the connection freezes. This is due to the above patch being applied only to the Python end (of course). Given that we need the patch for Python build tests, could you handle an environment variable setting to choose the behavior of the patch? In other words. a revised patch would consult an environment variable PYTHON_NET_DISABLE_CREDENTIALS to decide whether to do what the current patch does. I guess the pythonXX.cygport file would have to define that env var. Does that sound like a workable scheme to you? Thanks, ..mark
Re: Python 3 versions
On Friday, February 10, 2023 03:46 PM, Adam Dinwoodie expressed: > The "python3" package isn't a real package; it just means "the latest > package of Python3 available". Right now, that means Python 3.9, but I > expect Python 3.10 and 3.11 will appear at some point as well. Thanks, Adam. Kinda figured, but nonetheless, it's good to see it confirmed. Thanks. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
man -H should work by default on Cygwin
Hello, the man(1) program (together with groff) can generate HTML via the -H switch, e.g., man -H ls. The environment variable BROWSER names the default HTML browser man will use to display this page, lynx(1) if unset. Recent versions of man(1) now wait longer before deleting the rendered HTML file, allowing slower browsers to work as well. As of CYGWIN_NT-10.0-1942, setting BROWSER to cygstart works for me: my default browser, Chrome, creates a new tab page with the man page. I think this would be a worthwhile addition to /etc/skel/.bashrc (and so on), for example: case $(uname) in (CYGWIN_NT-*) export BROWSER=cygstart esac -- Konrad -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Python 3 versions
On Fri, 10 Feb 2023 at 18:46, Jose Isaias Cabrera via Cygwin wrote: > Greetings. > > I am going to start a project using python, but I need to be able to run some > of the python3 libraries. When I use setup to install python, there are a > bunch of python* versions: > python2* > python3 > python36* > ... > python39* > > I know that python2 is, probably, on its way out. Correct. Python2 has been completely unsupported by the Python project for over three years: https://devguide.python.org/developer-workflow/development-cycle/index.html#end-of-life-branches > But, why so many choices for versions of python? Because some Python-based programs need a specific version. If you're starting out a new project and don't have a specific version, you can probably use the latest version available, but that's not always the case. > One more question, if I install python3, does that mean that I can use all of > those python3x libraries? In other words, can I use the libraries of > python37* or python38* or python39? Or are these specific to those versions? > Confusing, it is. Thanks. Some Python libraries will work with any 3.x Python version. Most will only work with a specific version. You definitely won't be able to use, say, the python37-requests package with a python39 installation. The "python3" package isn't a real package; it just means "the latest package of Python3 available". Right now, that means Python 3.9, but I expect Python 3.10 and 3.11 will appear at some point as well. HTH Adam -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Python 3 versions
Greetings. I am going to start a project using python, but I need to be able to run some of the python3 libraries. When I use setup to install python, there are a bunch of python* versions: python2* python3 python36* ... python39* I know that python2 is, probably, on its way out. But, why so many choices for versions of python? One more question, if I install python3, does that mean that I can use all of those python3x libraries? In other words, can I use the libraries of python37* or python38* or python39? Or are these specific to those versions? Confusing, it is. Thanks. josé -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: chmod g+ws unsuccessful, "NULL SID" icacls missing
On Feb 10 11:42, Norton Allen via Cygwin wrote: > On 2/9/2023 4:09 PM, Corinna Vinschen wrote: > > On Feb 9 13:25, Norton Allen via Cygwin wrote: > > > On 2/8/2023 4:05 PM, Norton Allen via Cygwin wrote: > > > > [...] > > > > The problem: > > > > > > > > $ chmod g+ws fails to set the 's' bit, and the resulting icacls output > > > > does not contain any "NULL SID" entries. I am seeing the same problem on > > > > (at least) two different systems setup by my organization. One of these > > > > was just re-imaged and I installed Cygwin yesterday with no customized > > > > configurations. AV is Windows Defender, but I suspect if that were the > > > > culprit, there would have been more noise. > > > > [...] > > > [...] > > > Any idea what g+s should be doing? Any more/better information I can > > > provide? > > What you observe is a bug in Cygwin, plain and simple. Without going > > into too much detail, part of the problem could never be observed with > > older coreutils, which we had to live with for much too long in the > > Cygwin distro. The newer coreutils handles permissions slightly > > differently and that dropped the mask from the buggy code. > > > > I applied a patch which, hopefully, fixes this problem (in fact, plural, > > "these problems"). > > > > A new Cygwin test release 3.5.0-0.162.g498fce80ef33 is just being built > > and should be up in an hour or so. You can simply install it via > > Cygwin's setup tool as soon as it's on your favorite mirror. > > > > If it works as desired, it will be part of the next Cygwin bugfix > > release 3.4.6. > > Corinna, > > The fix seems to work like a charm! And I am happy to be wrong about the > source of the problem. Great, thanks for testing! Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Cygwin x86 end-of-life instructions worked really well
Just to say: the instructions at https://cygwin.com/pipermail/cygwin-announce/2022-November/010810.html work really well. I used the following single command at the Command Prompt: "setup-x86-2.924.exe --allow-unsupported-windows --site http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/2022/11/23/063457 -P package1,package2,..,packageN" (all on one line) to recover completely my original Cygwin32 platform (being Base + list of required additions). PS1: If you visit this page there is an intrusive word "option" in the instruction .. '--allow-unsupported-windows option --site circa_URL' .. PS2: Can't actually remember where or how I got the required executable setup-x86-2.924.exe -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
A new way to upload file & search your data
A New Way To Search, Share And Connect Your Data, if you want to Share What is Relevant, Privately, or Publicly. Then join Big Parser Visit now *(Bigparser)* Also, if you want to know about that, then see our video on YouTube Channel - (Big parser) -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: chmod g+ws unsuccessful, "NULL SID" icacls missing
On 2/9/2023 4:09 PM, Corinna Vinschen wrote: Hi Norton, On Feb 9 13:25, Norton Allen via Cygwin wrote: On 2/8/2023 4:05 PM, Norton Allen via Cygwin wrote: I briefly raised this issue months ago and am trying to resolve it again now. What I am trying to do is setup permissions so multiple users on one machine can share full control over a particular directory hierarchy. On Linux I have usually been able to make things work with: $ mkdir shared_dir $ chgrp shared_group shared_dir $ chmod g+ws shared_dir $ umask 2 User shells are configured with umask 2 so files they create have group write. Users belong to shared_group. Files and subdirs created under shared_dir are all in group shared_group. Files moved in retain their original group, but the group members still have permission to rename or delete them. The problem: $ chmod g+ws fails to set the 's' bit, and the resulting icacls output does not contain any "NULL SID" entries. I am seeing the same problem on (at least) two different systems setup by my organization. One of these was just re-imaged and I installed Cygwin yesterday with no customized configurations. AV is Windows Defender, but I suspect if that were the culprit, there would have been more noise. I suspect there might be a group policy or something that is interfering with Cygwin's strategy for implementing POSIX permissions. I am pretty sure this worked correctly at some point in the past. Has anyone encountered this? Does group policy seem like a likely suspect? Anyone know which policy(ies)? I think I might be able to get IT to cut me slack if I knew what to ask for. I have also played with using setfacl directly to add permissions, but as anyone who has read about Cygwin file permissions might guess, that tends to have mixed/poor results, but I'd be open to any suggestions. I don't actually have a system on which this is working to compare to, so I am not exactly sure how it is supposed to look when it's working correctly. The current behavior on my new uncustomized installation: [...] Any idea what g+s should be doing? Any more/better information I can provide? What you observe is a bug in Cygwin, plain and simple. Without going into too much detail, part of the problem could never be observed with older coreutils, which we had to live with for much too long in the Cygwin distro. The newer coreutils handles permissions slightly differently and that dropped the mask from the buggy code. I applied a patch which, hopefully, fixes this problem (in fact, plural, "these problems"). A new Cygwin test release 3.5.0-0.162.g498fce80ef33 is just being built and should be up in an hour or so. You can simply install it via Cygwin's setup tool as soon as it's on your favorite mirror. If it works as desired, it will be part of the next Cygwin bugfix release 3.4.6. Thanks, Corinna Corinna, The fix seems to work like a charm! And I am happy to be wrong about the source of the problem. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Cygwin is hanged while installation
Hi Andrey, Thank you for your reply, FYI.. this is not the first instalation, I did lot of installations. Will try one more time and let you know. Regards, Shaik Jafrulla On Fri, Feb 10, 2023, 5:20 PM Andrey Repin wrote: > Greetings, shaik jafrulla! > > > Hi Team, > > > While installing latest cygwin package and it is hanging at 0/Perpetual > > /etc/postinstall/0p_000_autorebase.sh > > > I have tried multiple mirror sites and still issue the same. Please find > > the attached screenshot. Kindly help in resolving this issue. > > If this is a first installation, and/or you have (re)installed many (new) > packages at the same time, this process may take long time. > Plus, certain antiviruses could slow it down to a crawl, considering the > script has to open and possibly modify each executable file in the > installation. > Try to install just base set of packages for the starter, and incrementally > add packages you are missing for your daily work. > > > -- > With best regards, > Andrey Repin > Friday, February 10, 2023 14:33:22 > > Sorry for my terrible english... > > -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Cygwin is hanged while installation
Greetings, shaik jafrulla! > Hi Team, > While installing latest cygwin package and it is hanging at 0/Perpetual > /etc/postinstall/0p_000_autorebase.sh > I have tried multiple mirror sites and still issue the same. Please find > the attached screenshot. Kindly help in resolving this issue. If this is a first installation, and/or you have (re)installed many (new) packages at the same time, this process may take long time. Plus, certain antiviruses could slow it down to a crawl, considering the script has to open and possibly modify each executable file in the installation. Try to install just base set of packages for the starter, and incrementally add packages you are missing for your daily work. -- With best regards, Andrey Repin Friday, February 10, 2023 14:33:22 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple