-
Notifications
You must be signed in to change notification settings - Fork 2
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
Migrate to patomic v1 #10
Comments
This seems to have broken builds for us last week, was looking into a fix for this today because we were recompiling for ARM macOS with The Lines 175 to 188 in e013dfa
The fix seems to be: export BUILD_PATOMIC_GIT_TAG=v0.2.2
# possibly also
# export BUILD_PATOMIC_FORCE_REPLACE=true
# export BUILD_PATOMIC_VERBOSE=2 Can test with: export BUILD_PATOMIC_GIT_TAG=v0.2.2
pip install --verbose --no-cache --force-reinstall --no-binary=atomics "atomics==1.0.2"
python -c "import atomics; atomics.atomic(width=4, atype=atomics.INT)" |
Oh crap, sorry about that. Fixing now. |
@nmichlo Can I ask what your output is? Because I just ran your command on my M2 MacBook and it seems to work? (.venv) doodspav@MacBook-Air test-py % pip3 install --no-binary=atomics atomics
Collecting atomics
Downloading atomics-1.0.2.tar.gz (44 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.2/44.2 kB 619.9 kB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.10 (from atomics)
Obtaining dependency information for cffi>=1.10 from https://files.pythonhosted.org/packages/ae/11/e77c8cd24f58285a82c23af484cf5b124a376b32644e445960d1a4654c3a/cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl.metadata
Downloading cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.10->atomics)
Obtaining dependency information for pycparser from https://files.pythonhosted.org/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl.metadata
Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl (178 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.6/178.6 kB 2.1 MB/s eta 0:00:00
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB 3.3 MB/s eta 0:00:00
Building wheels for collected packages: atomics
Building wheel for atomics (pyproject.toml) ... done
Created wheel for atomics: filename=atomics-1.0.2-cp39-none-macosx_15_0_universal2.whl size=70783 sha256=cb9949cfdfbf6c434e073e718190c30b3d8cb7dde786fe72c87780cbf4d71f4e
Stored in directory: /Users/doodspav/Library/Caches/pip/wheels/f8/78/17/d15477872be92fe05ba9ddfe99997b98019409b6106e1fc8c9
Successfully built atomics
Installing collected packages: pycparser, cffi, atomics
Successfully installed atomics-1.0.2 cffi-1.17.1 pycparser-2.22
[notice] A new release of pip is available: 23.2.1 -> 24.3.1
[notice] To update, run: pip install --upgrade pip |
While you work on that, I'm gonna try and finish up this migration today, since that will also fix the issue. I have 2 test failures on |
Hi @doodspav, thank you for the fast response and great library. The I'm also using Here is the default output, which errors out at runtime not compile time due to (atomics-debug) 10:56:02 ✘ nathanmichlo@Nathans-MacBook-Pro-3 : ~/Desktop
>>> export BUILD_PATOMIC_GIT_TAG=
(atomics-debug) 10:56:03 ✔ nathanmichlo@Nathans-MacBook-Pro-3 : ~/Desktop
>>> pip3 install --verbose --no-cache --force-reinstall --no-binary=atomics atomics
Using pip 24.2 from /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/pip (python 3.9)
Collecting atomics
Downloading atomics-1.0.2.tar.gz (44 kB)
Running command pip subprocess to install build dependencies
Using pip 24.2 from /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/pip (python 3.9)
Collecting GitPython
Obtaining dependency information for GitPython from https://files.pythonhosted.org/packages/1d/9a/4114a9057db2f1462d5c8f8390ab7383925fe1ac012eaa42402ad65c2963/GitPython-3.1.44-py3-none-any.whl.metadata
Using cached GitPython-3.1.44-py3-none-any.whl.metadata (13 kB)
Collecting cmake>=3.14
Obtaining dependency information for cmake>=3.14 from https://files.pythonhosted.org/packages/9a/2d/f1f718eadd56fa89097a294a25e26b712126b7353e5e146144f43820ad12/cmake-3.31.2-py3-none-macosx_10_10_universal2.whl.metadata
Using cached cmake-3.31.2-py3-none-macosx_10_10_universal2.whl.metadata (6.5 kB)
Collecting setuptools>=43.0.0
Obtaining dependency information for setuptools>=43.0.0 from https://files.pythonhosted.org/packages/55/21/47d163f615df1d30c094f6c8bbb353619274edccf0327b185cc2493c2c33/setuptools-75.6.0-py3-none-any.whl.metadata
Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB)
Collecting wheel>=0.25
Obtaining dependency information for wheel>=0.25 from https://files.pythonhosted.org/packages/0b/2c/87f3254fd8ffd29e4c02732eee68a83a1d3c346ae39bc6822dcbcb697f2b/wheel-0.45.1-py3-none-any.whl.metadata
Using cached wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Collecting gitdb<5,>=4.0.1 (from GitPython)
Obtaining dependency information for gitdb<5,>=4.0.1 from https://files.pythonhosted.org/packages/a0/61/5c78b91c3143ed5c14207f463aecfc8f9dbb5092fb2869baf37c273b2705/gitdb-4.0.12-py3-none-any.whl.metadata
Using cached gitdb-4.0.12-py3-none-any.whl.metadata (1.2 kB)
Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->GitPython)
Obtaining dependency information for smmap<6,>=3.0.1 from https://files.pythonhosted.org/packages/04/be/d09147ad1ec7934636ad912901c5fd7667e1c858e19d355237db0d0cd5e4/smmap-5.0.2-py3-none-any.whl.metadata
Using cached smmap-5.0.2-py3-none-any.whl.metadata (4.3 kB)
Using cached GitPython-3.1.44-py3-none-any.whl (207 kB)
Using cached cmake-3.31.2-py3-none-macosx_10_10_universal2.whl (47.2 MB)
Using cached setuptools-75.6.0-py3-none-any.whl (1.2 MB)
Using cached wheel-0.45.1-py3-none-any.whl (72 kB)
Using cached gitdb-4.0.12-py3-none-any.whl (62 kB)
Using cached smmap-5.0.2-py3-none-any.whl (24 kB)
Installing collected packages: wheel, smmap, setuptools, cmake, gitdb, GitPython
Creating /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-iag236i2/overlay/bin
changing mode of /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-iag236i2/overlay/bin/wheel to 755
changing mode of /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-iag236i2/overlay/bin/ccmake to 755
changing mode of /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-iag236i2/overlay/bin/cmake to 755
changing mode of /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-iag236i2/overlay/bin/cpack to 755
changing mode of /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-iag236i2/overlay/bin/ctest to 755
Successfully installed GitPython-3.1.44 cmake-3.31.2 gitdb-4.0.12 setuptools-75.6.0 smmap-5.0.2 wheel-0.45.1
Installing build dependencies ... done
Running command Getting requirements to build wheel
Getting requirements to build wheel ... done
Running command Preparing metadata (pyproject.toml)
running dist_info
creating /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-h5wkz2ty/atomics.egg-info
writing /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-h5wkz2ty/atomics.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-h5wkz2ty/atomics.egg-info/dependency_links.txt
writing requirements to /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-h5wkz2ty/atomics.egg-info/requires.txt
writing top-level names to /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-h5wkz2ty/atomics.egg-info/top_level.txt
writing manifest file '/private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-h5wkz2ty/atomics.egg-info/SOURCES.txt'
reading manifest file '/private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-h5wkz2ty/atomics.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.dll*' found anywhere in distribution
warning: no previously-included files matching '*.dylib*' found anywhere in distribution
warning: no previously-included files matching '*.so*' found anywhere in distribution
adding license file 'LICENSE.txt'
writing manifest file '/private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-h5wkz2ty/atomics.egg-info/SOURCES.txt'
creating '/private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-h5wkz2ty/atomics-1.0.2.dist-info'
Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.10 (from atomics)
Obtaining dependency information for cffi>=1.10 from https://files.pythonhosted.org/packages/ae/11/e77c8cd24f58285a82c23af484cf5b124a376b32644e445960d1a4654c3a/cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl.metadata
Downloading cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.10->atomics)
Obtaining dependency information for pycparser from https://files.pythonhosted.org/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl.metadata
Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl (178 kB)
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: atomics
Running command Building wheel for atomics (pyproject.toml)
running bdist_wheel
running build
running build_py
running build_patomic
[build_patomic] [INFO] [run] Cloning repo
Cloning repo
[build_patomic] [INFO] [clone_patomic] Switching to v0.2.2 tag
Switching to v0.2.2 tag
[build_patomic] [INFO] [run] Configuring CMake
Configuring CMake
[build_patomic] [INFO] [run] Building shared library
Building shared library
[build_patomic] [INFO] [run] Built shared library successfully
Built shared library successfully
[build_patomic] [INFO] [run] Copying over shared library file to: /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-install-6dr3n1aa/atomics_d76923c4655642dbb5d4e415f1a63d45/src/atomics/_clib
Copying over shared library file to: /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-install-6dr3n1aa/atomics_d76923c4655642dbb5d4e415f1a63d45/src/atomics/_clib
[build_patomic] [INFO] [run] Copied over file successfully
Copied over file successfully
creating build/lib.macosx-11.1-arm64-cpython-39/atomics
copying src/atomics/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics
copying src/atomics/view.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics
copying src/atomics/exc.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics
copying src/atomics/ctx.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics
copying src/atomics/base.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics
creating build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/enums.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/pybuffer.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/alignment.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/patomic.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/exceptions.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
creating build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/baseint.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/core.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/funcs.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/bytes.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/int.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/base.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
creating build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/properties.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/cmpxchg.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/byteops.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/types.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/intops.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
creating build/lib.macosx-11.1-arm64-cpython-39/atomics/_clib
copying src/atomics/_clib/libpatomic.1.0.0.dylib -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_clib
copying src/atomics/_clib/README.txt -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_clib
running build_ext
building 'dummy' extension
creating build/temp.macosx-11.1-arm64-cpython-39
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/include -arch arm64 -I/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/include -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/include -arch arm64 -I/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/include/python3.9 -c dummy.c -o build/temp.macosx-11.1-arm64-cpython-39/dummy.o
clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib -L/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib -L/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib -Wl,-rpath,/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib -L/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib build/temp.macosx-11.1-arm64-cpython-39/dummy.o -o build/lib.macosx-11.1-arm64-cpython-39/dummy.cpython-39-darwin.so
ld: warning: duplicate -rpath '/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib' ignored
installing to build/bdist.macosx-11.1-arm64/wheel
running install
running install_lib
creating build/bdist.macosx-11.1-arm64/wheel
creating build/bdist.macosx-11.1-arm64/wheel/atomics
creating build/bdist.macosx-11.1-arm64/wheel/atomics/_impl
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/enums.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/pybuffer.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/alignment.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
creating build/bdist.macosx-11.1-arm64/wheel/atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/baseint.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
creating build/bdist.macosx-11.1-arm64/wheel/atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/properties.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/cmpxchg.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/byteops.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/types.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/intops.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/core.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/funcs.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/bytes.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/int.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/base.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/patomic.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/exceptions.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
creating build/bdist.macosx-11.1-arm64/wheel/atomics/_clib
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_clib/libpatomic.1.0.0.dylib -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_clib
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_clib/README.txt -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_clib
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/view.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/exc.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/ctx.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/base.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics
copying build/lib.macosx-11.1-arm64-cpython-39/dummy.cpython-39-darwin.so -> build/bdist.macosx-11.1-arm64/wheel/.
running install_egg_info
running egg_info
writing src/atomics.egg-info/PKG-INFO
writing dependency_links to src/atomics.egg-info/dependency_links.txt
writing requirements to src/atomics.egg-info/requires.txt
writing top-level names to src/atomics.egg-info/top_level.txt
reading manifest file 'src/atomics.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.dll*' found anywhere in distribution
warning: no previously-included files matching '*.so*' found anywhere in distribution
adding license file 'LICENSE.txt'
writing manifest file 'src/atomics.egg-info/SOURCES.txt'
Copying src/atomics.egg-info to build/bdist.macosx-11.1-arm64/wheel/./atomics-1.0.2-py3.9.egg-info
running install_scripts
[WARNING] This wheel needs a higher macOS version than the version your Python interpreter is compiled against. To silence this warning, set MACOSX_DEPLOYMENT_TARGET to at least 15_0 or recreate these files with lower MACOSX_DEPLOYMENT_TARGET:
build/bdist.macosx-11.1-arm64/wheel/atomics/_clib/libpatomic.1.0.0.dylib[WARNING] This wheel needs a higher macOS version than the version your Python interpreter is compiled against. To silence this warning, set MACOSX_DEPLOYMENT_TARGET to at least 15_0 or recreate these files with lower MACOSX_DEPLOYMENT_TARGET:
build/bdist.macosx-11.1-arm64/wheel/atomics/_clib/libpatomic.1.0.0.dylibcreating build/bdist.macosx-11.1-arm64/wheel/atomics-1.0.2.dist-info/WHEEL
creating '/private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-wheel-oo175dlo/.tmp-dzw5pntq/atomics-1.0.2-cp39-none-macosx_15_0_arm64.whl' and adding 'build/bdist.macosx-11.1-arm64/wheel' to it
adding 'dummy.cpython-39-darwin.so'
adding 'atomics/__init__.py'
adding 'atomics/base.py'
adding 'atomics/ctx.py'
adding 'atomics/exc.py'
adding 'atomics/view.py'
adding 'atomics/_clib/README.txt'
adding 'atomics/_clib/libpatomic.1.0.0.dylib'
adding 'atomics/_impl/__init__.py'
adding 'atomics/_impl/alignment.py'
adding 'atomics/_impl/enums.py'
adding 'atomics/_impl/exceptions.py'
adding 'atomics/_impl/patomic.py'
adding 'atomics/_impl/pybuffer.py'
adding 'atomics/_impl/atomic/__init__.py'
adding 'atomics/_impl/atomic/base.py'
adding 'atomics/_impl/atomic/baseint.py'
adding 'atomics/_impl/atomic/bytes.py'
adding 'atomics/_impl/atomic/core.py'
adding 'atomics/_impl/atomic/funcs.py'
adding 'atomics/_impl/atomic/int.py'
adding 'atomics/_impl/atomic/mixins/__init__.py'
adding 'atomics/_impl/atomic/mixins/byteops.py'
adding 'atomics/_impl/atomic/mixins/cmpxchg.py'
adding 'atomics/_impl/atomic/mixins/intops.py'
adding 'atomics/_impl/atomic/mixins/properties.py'
adding 'atomics/_impl/atomic/mixins/types.py'
adding 'atomics-1.0.2.dist-info/LICENSE.txt'
adding 'atomics-1.0.2.dist-info/METADATA'
adding 'atomics-1.0.2.dist-info/WHEEL'
adding 'atomics-1.0.2.dist-info/top_level.txt'
adding 'atomics-1.0.2.dist-info/RECORD'
removing build/bdist.macosx-11.1-arm64/wheel
Building wheel for atomics (pyproject.toml) ... done
Created wheel for atomics: filename=atomics-1.0.2-cp39-none-macosx_15_0_arm64.whl size=70143 sha256=5ddf9924bc18d5cbfea03f4f52dfbbba556f64ca0080ea71d66fe09f409c5363
Stored in directory: /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-ephem-wheel-cache-jgflrzqy/wheels/f8/78/17/d15477872be92fe05ba9ddfe99997b98019409b6106e1fc8c9
Successfully built atomics
Installing collected packages: pycparser, cffi, atomics
Attempting uninstall: pycparser
Found existing installation: pycparser 2.22
Uninstalling pycparser-2.22:
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/pycparser-2.22.dist-info/
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/pycparser/
Successfully uninstalled pycparser-2.22
Attempting uninstall: cffi
Found existing installation: cffi 1.17.1
Uninstalling cffi-1.17.1:
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/_cffi_backend.cpython-39-darwin.so
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/cffi-1.17.1.dist-info/
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/cffi/
Successfully uninstalled cffi-1.17.1
Attempting uninstall: atomics
Found existing installation: atomics 1.0.2
Uninstalling atomics-1.0.2:
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/atomics-1.0.2.dist-info/
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/atomics/
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/dummy.cpython-39-darwin.so
Successfully uninstalled atomics-1.0.2
Successfully installed atomics-1.0.2 cffi-1.17.1 pycparser-2.22
(atomics-debug) 10:56:15 ✔ nathanmichlo@Nathans-MacBook-Pro-3 : ~/Desktop
>>> python3 -c "import atomics; atomics.atomic(width=4, atype=atomics.INT)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/atomics/_impl/atomic/funcs.py", line 64, in atomic
return AtomicInt(width=width)
File "/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/atomics/_impl/atomic/int.py", line 10, in __init__
super().__init__(width=width, is_signed=True)
File "/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/atomics/_impl/atomic/baseint.py", line 10, in __init__
super().__init__(width=width, is_integral=True, is_signed=is_signed)
File "/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/atomics/_impl/atomic/base.py", line 22, in __init__
ops = p.ops(width)
File "/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/atomics/_impl/patomic.py", line 110, in ops
pae = Patomic._create_explicit(width)
File "/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/atomics/_impl/patomic.py", line 106, in _create_explicit
return Patomic._get_lib().patomic_create_explicit(width, 0, 0)
File "/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/atomics/_impl/patomic.py", line 93, in _get_lib
lib.patomic_nonnull_ops_count_explicit.restype = c_int
File "/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/ctypes/__init__.py", line 395, in __getattr__
func = self.__getitem__(name)
File "/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/ctypes/__init__.py", line 400, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(0x648485d0, patomic_nonnull_ops_count_explicit): symbol not found
(atomics-debug) 10:56:20 ✘ nathanmichlo@Nathans-MacBook-Pro-3 : ~/Desktop
>>> EDIT: there seems to be the line Here is the fixed output with overridden patomics (atomics-debug) 10:56:46 ✘ nathanmichlo@Nathans-MacBook-Pro-3 : ~/Desktop
>>> export BUILD_PATOMIC_GIT_TAG=v0.2.2
(atomics-debug) 10:56:49 ✔ nathanmichlo@Nathans-MacBook-Pro-3 : ~/Desktop
>>> pip3 install --verbose --no-cache --force-reinstall --no-binary=atomics atomics
Using pip 24.2 from /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/pip (python 3.9)
Collecting atomics
Downloading atomics-1.0.2.tar.gz (44 kB)
Running command pip subprocess to install build dependencies
Using pip 24.2 from /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/pip (python 3.9)
Collecting GitPython
Obtaining dependency information for GitPython from https://files.pythonhosted.org/packages/1d/9a/4114a9057db2f1462d5c8f8390ab7383925fe1ac012eaa42402ad65c2963/GitPython-3.1.44-py3-none-any.whl.metadata
Using cached GitPython-3.1.44-py3-none-any.whl.metadata (13 kB)
Collecting cmake>=3.14
Obtaining dependency information for cmake>=3.14 from https://files.pythonhosted.org/packages/9a/2d/f1f718eadd56fa89097a294a25e26b712126b7353e5e146144f43820ad12/cmake-3.31.2-py3-none-macosx_10_10_universal2.whl.metadata
Using cached cmake-3.31.2-py3-none-macosx_10_10_universal2.whl.metadata (6.5 kB)
Collecting setuptools>=43.0.0
Obtaining dependency information for setuptools>=43.0.0 from https://files.pythonhosted.org/packages/55/21/47d163f615df1d30c094f6c8bbb353619274edccf0327b185cc2493c2c33/setuptools-75.6.0-py3-none-any.whl.metadata
Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB)
Collecting wheel>=0.25
Obtaining dependency information for wheel>=0.25 from https://files.pythonhosted.org/packages/0b/2c/87f3254fd8ffd29e4c02732eee68a83a1d3c346ae39bc6822dcbcb697f2b/wheel-0.45.1-py3-none-any.whl.metadata
Using cached wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Collecting gitdb<5,>=4.0.1 (from GitPython)
Obtaining dependency information for gitdb<5,>=4.0.1 from https://files.pythonhosted.org/packages/a0/61/5c78b91c3143ed5c14207f463aecfc8f9dbb5092fb2869baf37c273b2705/gitdb-4.0.12-py3-none-any.whl.metadata
Using cached gitdb-4.0.12-py3-none-any.whl.metadata (1.2 kB)
Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->GitPython)
Obtaining dependency information for smmap<6,>=3.0.1 from https://files.pythonhosted.org/packages/04/be/d09147ad1ec7934636ad912901c5fd7667e1c858e19d355237db0d0cd5e4/smmap-5.0.2-py3-none-any.whl.metadata
Using cached smmap-5.0.2-py3-none-any.whl.metadata (4.3 kB)
Using cached GitPython-3.1.44-py3-none-any.whl (207 kB)
Using cached cmake-3.31.2-py3-none-macosx_10_10_universal2.whl (47.2 MB)
Using cached setuptools-75.6.0-py3-none-any.whl (1.2 MB)
Using cached wheel-0.45.1-py3-none-any.whl (72 kB)
Using cached gitdb-4.0.12-py3-none-any.whl (62 kB)
Using cached smmap-5.0.2-py3-none-any.whl (24 kB)
Installing collected packages: wheel, smmap, setuptools, cmake, gitdb, GitPython
Creating /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-47c_6mb4/overlay/bin
changing mode of /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-47c_6mb4/overlay/bin/wheel to 755
changing mode of /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-47c_6mb4/overlay/bin/ccmake to 755
changing mode of /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-47c_6mb4/overlay/bin/cmake to 755
changing mode of /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-47c_6mb4/overlay/bin/cpack to 755
changing mode of /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-build-env-47c_6mb4/overlay/bin/ctest to 755
Successfully installed GitPython-3.1.44 cmake-3.31.2 gitdb-4.0.12 setuptools-75.6.0 smmap-5.0.2 wheel-0.45.1
Installing build dependencies ... done
Running command Getting requirements to build wheel
Getting requirements to build wheel ... done
Running command Preparing metadata (pyproject.toml)
running dist_info
creating /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-g79kwf0t/atomics.egg-info
writing /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-g79kwf0t/atomics.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-g79kwf0t/atomics.egg-info/dependency_links.txt
writing requirements to /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-g79kwf0t/atomics.egg-info/requires.txt
writing top-level names to /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-g79kwf0t/atomics.egg-info/top_level.txt
writing manifest file '/private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-g79kwf0t/atomics.egg-info/SOURCES.txt'
reading manifest file '/private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-g79kwf0t/atomics.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.dll*' found anywhere in distribution
warning: no previously-included files matching '*.dylib*' found anywhere in distribution
warning: no previously-included files matching '*.so*' found anywhere in distribution
adding license file 'LICENSE.txt'
writing manifest file '/private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-g79kwf0t/atomics.egg-info/SOURCES.txt'
creating '/private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-modern-metadata-g79kwf0t/atomics-1.0.2.dist-info'
Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.10 (from atomics)
Obtaining dependency information for cffi>=1.10 from https://files.pythonhosted.org/packages/ae/11/e77c8cd24f58285a82c23af484cf5b124a376b32644e445960d1a4654c3a/cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl.metadata
Downloading cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.10->atomics)
Obtaining dependency information for pycparser from https://files.pythonhosted.org/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl.metadata
Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl (178 kB)
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: atomics
Running command Building wheel for atomics (pyproject.toml)
running bdist_wheel
running build
running build_py
running build_patomic
[build_patomic] [INFO] [run] Cloning repo
Cloning repo
[build_patomic] [INFO] [clone_patomic] Checkout out user provided tag: v0.2.2
Checkout out user provided tag: v0.2.2
[build_patomic] [INFO] [clone_patomic] Switching to v0.2.2 tag
Switching to v0.2.2 tag
[build_patomic] [INFO] [run] Configuring CMake
Configuring CMake
[build_patomic] [INFO] [run] Building shared library
Building shared library
[build_patomic] [INFO] [run] Built shared library successfully
Built shared library successfully
[build_patomic] [INFO] [run] Copying over shared library file to: /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-install-tgmyow1a/atomics_0e493fc414ac48d69c7ce7af79b68bbe/src/atomics/_clib
Copying over shared library file to: /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-install-tgmyow1a/atomics_0e493fc414ac48d69c7ce7af79b68bbe/src/atomics/_clib
[build_patomic] [INFO] [run] Copied over file successfully
Copied over file successfully
creating build/lib.macosx-11.1-arm64-cpython-39/atomics
copying src/atomics/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics
copying src/atomics/view.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics
copying src/atomics/exc.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics
copying src/atomics/ctx.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics
copying src/atomics/base.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics
creating build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/enums.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/pybuffer.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/alignment.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/patomic.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
copying src/atomics/_impl/exceptions.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl
creating build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/baseint.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/core.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/funcs.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/bytes.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/int.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
copying src/atomics/_impl/atomic/base.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic
creating build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/properties.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/cmpxchg.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/byteops.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/types.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
copying src/atomics/_impl/atomic/mixins/intops.py -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins
creating build/lib.macosx-11.1-arm64-cpython-39/atomics/_clib
copying src/atomics/_clib/libpatomic.0.2.2.dylib -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_clib
copying src/atomics/_clib/README.txt -> build/lib.macosx-11.1-arm64-cpython-39/atomics/_clib
running build_ext
building 'dummy' extension
creating build/temp.macosx-11.1-arm64-cpython-39
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/include -arch arm64 -I/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/include -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/include -arch arm64 -I/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/include/python3.9 -c dummy.c -o build/temp.macosx-11.1-arm64-cpython-39/dummy.o
clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib -L/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib -L/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib -Wl,-rpath,/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib -L/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib build/temp.macosx-11.1-arm64-cpython-39/dummy.o -o build/lib.macosx-11.1-arm64-cpython-39/dummy.cpython-39-darwin.so
ld: warning: duplicate -rpath '/opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib' ignored
installing to build/bdist.macosx-11.1-arm64/wheel
running install
running install_lib
creating build/bdist.macosx-11.1-arm64/wheel
creating build/bdist.macosx-11.1-arm64/wheel/atomics
creating build/bdist.macosx-11.1-arm64/wheel/atomics/_impl
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/enums.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/pybuffer.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/alignment.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
creating build/bdist.macosx-11.1-arm64/wheel/atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/baseint.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
creating build/bdist.macosx-11.1-arm64/wheel/atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/properties.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/cmpxchg.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/byteops.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/types.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/mixins/intops.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic/mixins
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/core.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/funcs.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/bytes.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/int.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/atomic/base.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl/atomic
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/patomic.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_impl/exceptions.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_impl
creating build/bdist.macosx-11.1-arm64/wheel/atomics/_clib
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_clib/libpatomic.0.2.2.dylib -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_clib
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/_clib/README.txt -> build/bdist.macosx-11.1-arm64/wheel/./atomics/_clib
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/view.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/exc.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/ctx.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics
copying build/lib.macosx-11.1-arm64-cpython-39/atomics/base.py -> build/bdist.macosx-11.1-arm64/wheel/./atomics
copying build/lib.macosx-11.1-arm64-cpython-39/dummy.cpython-39-darwin.so -> build/bdist.macosx-11.1-arm64/wheel/.
running install_egg_info
running egg_info
writing src/atomics.egg-info/PKG-INFO
writing dependency_links to src/atomics.egg-info/dependency_links.txt
writing requirements to src/atomics.egg-info/requires.txt
writing top-level names to src/atomics.egg-info/top_level.txt
reading manifest file 'src/atomics.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.dll*' found anywhere in distribution
warning: no previously-included files matching '*.so*' found anywhere in distribution
adding license file 'LICENSE.txt'
writing manifest file 'src/atomics.egg-info/SOURCES.txt'
Copying src/atomics.egg-info to build/bdist.macosx-11.1-arm64/wheel/./atomics-1.0.2-py3.9.egg-info
running install_scripts
[WARNING] This wheel needs a higher macOS version than the version your Python interpreter is compiled against. To silence this warning, set MACOSX_DEPLOYMENT_TARGET to at least 15_0 or recreate these files with lower MACOSX_DEPLOYMENT_TARGET:
build/bdist.macosx-11.1-arm64/wheel/atomics/_clib/libpatomic.0.2.2.dylib[WARNING] This wheel needs a higher macOS version than the version your Python interpreter is compiled against. To silence this warning, set MACOSX_DEPLOYMENT_TARGET to at least 15_0 or recreate these files with lower MACOSX_DEPLOYMENT_TARGET:
build/bdist.macosx-11.1-arm64/wheel/atomics/_clib/libpatomic.0.2.2.dylibcreating build/bdist.macosx-11.1-arm64/wheel/atomics-1.0.2.dist-info/WHEEL
creating '/private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-wheel-dh3wwpaz/.tmp-yh_dgief/atomics-1.0.2-cp39-none-macosx_15_0_arm64.whl' and adding 'build/bdist.macosx-11.1-arm64/wheel' to it
adding 'dummy.cpython-39-darwin.so'
adding 'atomics/__init__.py'
adding 'atomics/base.py'
adding 'atomics/ctx.py'
adding 'atomics/exc.py'
adding 'atomics/view.py'
adding 'atomics/_clib/README.txt'
adding 'atomics/_clib/libpatomic.0.2.2.dylib'
adding 'atomics/_impl/__init__.py'
adding 'atomics/_impl/alignment.py'
adding 'atomics/_impl/enums.py'
adding 'atomics/_impl/exceptions.py'
adding 'atomics/_impl/patomic.py'
adding 'atomics/_impl/pybuffer.py'
adding 'atomics/_impl/atomic/__init__.py'
adding 'atomics/_impl/atomic/base.py'
adding 'atomics/_impl/atomic/baseint.py'
adding 'atomics/_impl/atomic/bytes.py'
adding 'atomics/_impl/atomic/core.py'
adding 'atomics/_impl/atomic/funcs.py'
adding 'atomics/_impl/atomic/int.py'
adding 'atomics/_impl/atomic/mixins/__init__.py'
adding 'atomics/_impl/atomic/mixins/byteops.py'
adding 'atomics/_impl/atomic/mixins/cmpxchg.py'
adding 'atomics/_impl/atomic/mixins/intops.py'
adding 'atomics/_impl/atomic/mixins/properties.py'
adding 'atomics/_impl/atomic/mixins/types.py'
adding 'atomics-1.0.2.dist-info/LICENSE.txt'
adding 'atomics-1.0.2.dist-info/METADATA'
adding 'atomics-1.0.2.dist-info/WHEEL'
adding 'atomics-1.0.2.dist-info/top_level.txt'
adding 'atomics-1.0.2.dist-info/RECORD'
removing build/bdist.macosx-11.1-arm64/wheel
Building wheel for atomics (pyproject.toml) ... done
Created wheel for atomics: filename=atomics-1.0.2-cp39-none-macosx_15_0_arm64.whl size=74738 sha256=70e6fe4ba3d5c580e5438d3e4346ad339f29782c9a026b773d1dda1ac1f8ac56
Stored in directory: /private/var/folders/yk/7plmlyz55n1fz98395gfvx3r0000gn/T/pip-ephem-wheel-cache-8dvsu0q2/wheels/f8/78/17/d15477872be92fe05ba9ddfe99997b98019409b6106e1fc8c9
Successfully built atomics
Installing collected packages: pycparser, cffi, atomics
Attempting uninstall: pycparser
Found existing installation: pycparser 2.22
Uninstalling pycparser-2.22:
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/pycparser-2.22.dist-info/
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/pycparser/
Successfully uninstalled pycparser-2.22
Attempting uninstall: cffi
Found existing installation: cffi 1.17.1
Uninstalling cffi-1.17.1:
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/_cffi_backend.cpython-39-darwin.so
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/cffi-1.17.1.dist-info/
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/cffi/
Successfully uninstalled cffi-1.17.1
Attempting uninstall: atomics
Found existing installation: atomics 1.0.2
Uninstalling atomics-1.0.2:
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/atomics-1.0.2.dist-info/
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/atomics/
Removing file or directory /opt/homebrew/Caskroom/miniconda/base/envs/atomics-debug/lib/python3.9/site-packages/dummy.cpython-39-darwin.so
Successfully uninstalled atomics-1.0.2
Successfully installed atomics-1.0.2 cffi-1.17.1 pycparser-2.22
(atomics-debug) 10:57:01 ✔ nathanmichlo@Nathans-MacBook-Pro-3 : ~/Desktop
>>> python3 -c "import atomics; atomics.atomic(width=4, atype=atomics.INT)"
(atomics-debug) 10:57:06 ✔ nathanmichlo@Nathans-MacBook-Pro-3 : ~/Desktop
>>> |
Ok managed to reproduce it. I'll push |
Moved to #11 |
patomic
version to 1.0.0 or later (as long as it's any major version 1)patomic
The text was updated successfully, but these errors were encountered: