[issue39026] Include/cpython/pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2021-11-09 Thread Gaige Paulsen


Gaige Paulsen  added the comment:

I'll try to check that in the next day or two.

--

___
Python tracker 
<https://bugs.python.org/issue39026>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39026] Include/cpython/pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2021-11-17 Thread Gaige Paulsen


Gaige Paulsen  added the comment:

Short version is not yet. I spent time on it but ran into an issue getting the 
full build on the machine I was building on. I expect to try it again before 
the weekend.

Is there a binary copy of the framework from the CI somewhere? If so, I can 
certainly do a much faster check against building with the framework, saving me 
the step I'm having problem with right now.

--

___
Python tracker 
<https://bugs.python.org/issue39026>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39026] Include/cpython/pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2021-11-23 Thread Gaige Paulsen


Gaige Paulsen  added the comment:

Sorry about the delay.
Finally fixed my workflow for building from scratch.

Result: I can confirm that the compilation problem is resolved with this change 
(and was failing with the main branch prior to the change).

--

___
Python tracker 
<https://bugs.python.org/issue39026>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39026] Include/cpython/pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2021-11-23 Thread Gaige Paulsen


Gaige Paulsen  added the comment:

I can test the backports if you like. In that case, let me know when the 
backports are done, I should be able to test those rapidly, now that I have my 
build environment working for building from source.

Thanks again!

--

___
Python tracker 
<https://bugs.python.org/issue39026>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39026] pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2019-12-11 Thread Gaige Paulsen


New submission from Gaige Paulsen :

The cpython/pystate.h includes cpython/initconfig.h using the relative path 
"cpython/initconfig.h", which probably works fine if your include path 
explicitly contains the top of the python directory, however when developing 
with a framework in macOS, the framework's root path cannot be referred to 
relatively.

Since cpython/pystate.h and cpython/initconfig.h live in the same directory, 
any C compiler should include them correctly, regardless of include path if the 
cpython/pystate.h includes "initconfig.h" instead of "cpython/initconfig.h", 
since I believe the very first path is always relative to the file including 
the next file.  In this case, cpython is the parent of pystate.h and thus 
including initconfig.h directly should work fine.

Previous 3.x versions worked fine, but the cpython directory wasn't in Headers 
for macOS.

Although I wasn't able to exhaustively test this on all platforms and with all 
compilers, changing the include in cpython/pystate.h to "initconfig.h" solved 
the compilation/include problem.

--
components: C API, macOS
messages: 358266
nosy: gaige, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: pystate.h contains non-relative of initconfig.h include causing macOS 
Framework include failure
type: behavior
versions: Python 3.8

___
Python tracker 
<https://bugs.python.org/issue39026>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39026] pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2019-12-11 Thread Gaige Paulsen


Gaige Paulsen  added the comment:

I should have been more specific. Sorry about that.

Yes, when including  in Xcode, incorporating the framework. In 
particular, I'm embedding 3.8 in an application (previously used the system 
Framework, which was 2.7, which worked but Apple has warned that it may 
disappear).  

The Xcode error is:

In file included from /Users/gaige/MyApp/Code/PythonImporter.m:10:
In file included from ../python-framework/Python.framework/Headers/Python.h:121:
In file included from 
../python-framework/Python.framework/Headers/genobject.h:11:
In file included from 
../python-framework/Python.framework/Headers/pystate.h:129:
../python-framework/Python.framework/Headers/cpython/pystate.h:10:10: fatal 
error: 'cpython/initconfig.h' file not found
#include "cpython/initconfig.h"
 ^~
1 error generated.

python-framework is in the framework search path.

Let me know if there's something further I can clarify.

--

___
Python tracker 
<https://bugs.python.org/issue39026>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42173] Drop Solaris support

2020-10-30 Thread Gaige Paulsen


Gaige Paulsen  added the comment:

Let me add my voice to those who ask to keep Solaris support in Python going 
forward. We use SmartOS which is an Illumos and thus Solaris derivative.

We use Ansible extensively to automate our SmartOS deployments. We have a 
couple hundred VMs and 2 part-time volunteers on staff. We are extremely 
reliant on Ansible, and thus Python.

I have multiple blogs and a couple of django-based web sites that are running 
on SmartOS and we run a wide variety of tools that use Python as part of their 
mix.

--
nosy: +gaige

___
Python tracker 
<https://bugs.python.org/issue42173>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com