Comments (11)
I think the idea of preserving the arch through all commands is the right thing to do, but what's the right way to do it?
from nox.
I think the "right" way is:
$ arch -32 ...
$ arch -i386 ... # Synonym for -32
$ arch -64 ...
$ arch -x86_64 ... # Synonym for -64
from nox.
as a prefix to literally everything we execute?
from nox.
Only on OS X, but maybe? It's possible there is a way to "inherit"?
from nox.
It's possible there is a way to "inherit"?
That would be ideal. It seems weird to me that a 32bit process is able to create a 64bit subprocess (considering exec is forking).
from nox.
It turns out a similar feature might be relevant on Windows:
C:\Users\dhermes\Desktop>py -2.7-32 info.py
exe: C:\Python27-32\python.exe
sys.maxsize == 2**(31) - 1
C:\Users\dhermes\Desktop>py -2.7 info.py
exe: C:\Python27\python.exe
sys.maxsize == 2**(63) - 1
C:\Users\dhermes\Desktop>py -3.5-32 info.py
exe: C:\Users\dhermes\AppData\Local\Programs\Python\Python35-32\python.exe
sys.maxsize == 2**(31) - 1
C:\Users\dhermes\Desktop>py -3.5 info.py
exe: C:\Users\dhermes\AppData\Local\Programs\Python\Python35\python.exe
sys.maxsize == 2**(63) - 1
C:\Users\dhermes\Desktop>py -3.6-32 info.py
exe: C:\Users\dhermes\AppData\Local\Programs\Python\Python36-32\python.exe
sys.maxsize == 2**(31) - 1
C:\Users\dhermes\Desktop>py -3.6 info.py
exe: C:\Users\dhermes\AppData\Local\Programs\Python\Python36\python.exe
sys.maxsize == 2**(63) - 1
where
# info.py
import sys
def main():
print('exe: {}'.format(sys.executable))
if sys.maxsize == 2**31 - 1:
print('sys.maxsize == 2**(31) - 1')
elif sys.maxsize == 2**63 - 1:
print('sys.maxsize == 2**(63) - 1')
else:
print('sys.maxsize == {}'.format(sys.maxsize))
if __name__ == '__main__':
main()
See also #63 (comment)
from nox.
@dhermes it seems with #100 this is no longer relevant, am I missing something?
from nox.
#100 only added architecture support on Windows
from nox.
So what needs to be done for OS X? Is 32bit even relevant for OS X?
from nox.
I don't really think so. NumPy has dropped support for 32-bit binaries on OS X.
from nox.
I'm going to close this, then.
from nox.
Related Issues (20)
- Void nox.options.sessions when tags are specified
- Support for GHA's setup-python pre-release version specifiers HOT 5
- Add option to skip session by default HOT 3
- Tests fail with internal error HOT 1
- does nox support testing built wheel files? HOT 5
- Detect session.install('pip'....) with `--no-install` HOT 2
- Add a command to print the full docstring of a session
- Add an option to not store virtual environments
- time_of_day(12) returns "" HOT 1
- Support argcomplete v3.0 HOT 2
- Address test breakage, virtualenv >= 20.22.0 , python 2 support removal
- Investigate if gh action tests for old versions can be brought back
- Tests fail when NO_COLOR=1 is set in the environment HOT 1
- Cannot install package from Azure Artifacts
- Session attributes to represent the state of `reuse-existing-virtualenvs` and `no-install`
- `run_installer` as an alias to `run_always`
- `session.create_tmp` has slightly surprising behavior HOT 2
- UnicodeDecodeError: 'utf-16-le' codec can't decode byte 0x0a in position 4780: truncated data HOT 1
- Save session name in `Func` HOT 2
- Get session list in code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nox.