Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Fix pulling of cx_freeze 6.10 #2628

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

antirotor
Copy link
Member

Problem

Poetry wasn't restricted to specific version we hosted in our pip index so when new cx_freeze 6.10 was released, it pulled it in. Unfortunately cx_freeze 6.10 broke python 3.7 compatibility as it seems so it prevented creation of venv.

Testing

  1. Delete current venv
  2. run ./tools/create_env.sh or .\tools\create_env.ps1

@antirotor antirotor added type: bug Something isn't working severity: HIGH labels Feb 2, 2022
@antirotor antirotor requested a review from 64qam February 2, 2022 14:20
@antirotor antirotor self-assigned this Feb 2, 2022
@mkolar
Copy link
Member

mkolar commented Feb 2, 2022

Task linked: OP-2553 Linux build fails

@64qam
Copy link
Member

64qam commented Feb 2, 2022

Works well on Windows and Centos. It is possible to create a build debian. However, this build is not working on ubuntu
/openpype_console: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32 not found (required by ./openpype_console) ./openpype_console: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33'not found (required by ./openpype_console)

@antirotor
Copy link
Member Author

However, this build is not working on ubuntu

this fix is unrelated to that and will be addressed in another PR

@Tilix4
Copy link
Collaborator

Tilix4 commented Feb 2, 2022

Got an error on OSX:

$ ./tools/create_env.sh


             . .   ..     .    ..
        _oOOP3OPP3Op_. .
     .PPpo~·   ··   ~2p.  ··  ····  ·  ·
    ·Ppo · .pPO3Op.· · O:· · · ·
   .3Pp · oP3'· 'P33· · 4 ··   ·  ·   · ·· ·  ·  ·
  ·~OP    3PO·  .Op3    : · ··  _____  _____  _____
  ·P3O  · oP3oP3O3P' · · ·   · /    /·/    /·/    /
   O3:·   O3p~ ·       ·:· · ·/____/·/____/ /____/
   'P ·   3p3·  oP3~· ·.P:· ·  · ··  ·   · ·· ·  ·  ·
  · ':  · Po'  ·Opo'· .3O· .  o[ by Pype Club ]]]==- - - ·  ·
    · '_ ..  ·    . _OP3··  ·  ·https://openpype.io·· ·
         ~P3·OPPPO3OP~ · ··  ·
           ·  ' '· ·  ·· · · · ··  ·


>>> Using python [ 3.7 ]
>>> Reading Poetry ... OK
>>> Updating dependencies ...
Creating virtualenv openpype in /Users/felixdavid/Documents/Logiciels/OpenPype/.venv
Installing dependencies from lock file

Package operations: 129 installs, 0 updates, 0 removals

  • Installing pyasn1 (0.4.8)
  • Installing pycparser (2.21)
  • Installing pyobjc-core (8.2)
  • Installing typing-extensions (4.0.1)
  • Installing zipp (3.7.0)
  • Installing cachetools (5.0.0)
  • Installing certifi (2021.10.8)
  • Installing cffi (1.15.0)
  • Installing chardet (4.0.0)
  • Installing frozenlist (1.3.0)
  • Installing idna (2.10)
  • Installing importlib-metadata (4.10.1)
  • Installing markupsafe (2.0.1)
  • Installing multidict (6.0.2)
  • Installing protobuf (3.19.4)
  • Installing pyasn1-modules (0.2.8)
  • Installing pyobjc-framework-cocoa (8.2)
  • Installing pyparsing (2.4.7)
  • Installing pytz (2021.3)
  • Installing rsa (4.8)
  • Installing six (1.16.0)
  • Installing urllib3 (1.26.8)
  • Installing aiosignal (1.2.0)
  • Installing alabaster (0.7.12)
  • Installing async-timeout (4.0.2)
  • Installing asynctest (0.13.0)
  • Installing attrs (21.4.0)
  • Installing babel (2.9.1)
  • Installing bcrypt (3.2.0)
  • Installing charset-normalizer (2.0.11)
  • Installing googleapis-common-protos (1.54.0): Installing...
  • Installing docutils (0.18.1): Installing...
  • Installing google-auth (2.6.0): Installing...
  • Installing imagesize (1.3.0): Installing...
  • Installing cryptography (36.0.1): Failed

  RuntimeError

  Invalid hashes (sha256:753f02cb365917ebe1b86143923f99175aa7d014840883e1e60d10835d7430d8) for cryptography (36.0.1) using archive cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl. Expected one of sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3, sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31, sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac, sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf, sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316, sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca, sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638, sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94, sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12, sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173, sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b, sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a, sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f, sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2, sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32  • Installing cryptography (36.0.1): Failed

  RuntimeError

  Invalid hashes (sha256:753f02cb365917ebe1b86143923f99175aa7d014840883e1e60d10835d7430d8) for cryptography (36.0.1) using archive cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl. Expected one of sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3, sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31, sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac, sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf, sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316, sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca, sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638, sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94, sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12, sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173, sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b, sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a, sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f, sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2, sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32  • Installing imagesize (1.3.0)
  • Installing cryptography (36.0.1): Failed

  RuntimeError

  Invalid hashes (sha256:753f02cb365917ebe1b86143923f99175aa7d014840883e1e60d10835d7430d8) for cryptography (36.0.1) using archive cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl. Expected one of sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3, sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31, sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac, sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf, sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316, sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca, sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638, sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94, sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12, sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173, sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b, sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a, sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f, sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2, sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32cb07956e9ebd3c9, sha256:ca238ceb7ba0bdf6ce88c1b74a87bffcee5afbfa1e41e173b1ceb095  • Installing google-auth (2.6.0): Installing...
  • Installing imagesize (1.3.0)
  • Installing cryptography (36.0.1): Failed

  RuntimeError

  Invalid hashes (sha256:753f02cb365917ebe1b86143923f99175aa7d014840883e1e60d10835d7430d8) for cryptography (36.0.1) using archive cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl. Expected one of sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3, sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31, sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac, sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf, sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316, sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca, sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638, sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94, sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12, sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173, sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b, sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a, sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f, sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2, sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32cb07956e9ebd3c9, sha256:ca238ceb7ba0bdf6ce88c1b74a87bffcee5afbfa1e41e173b1ceb095  • Installing docutils (0.18.1)
  • Installing google-auth (2.6.0): Installing...
  • Installing imagesize (1.3.0)
  • Installing cryptography (36.0.1): Failed

  RuntimeError

  Invalid hashes (sha256:753f02cb365917ebe1b86143923f99175aa7d014840883e1e60d10835d7430d8) for cryptography (36.0.1) using archive cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl. Expected one of sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3, sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31, sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac, sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf, sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316, sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca, sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638, sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94, sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12, sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173, sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b, sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a, sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f, sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2, sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32cb07956e9ebd3c9, sha256:ca238ceb7ba0bdf6ce88c1b74a87bffcee5afbfa1e41e173b1ceb095b39add46, sha256:ca28641954f767f9822c24e927ad894d45d5a1e501767599647259cbf030b90  • Installing docutils (0.18.1)
  • Installing google-auth (2.6.0): Installing...
  • Installing imagesize (1.3.0)
  • Installing cryptography (36.0.1): Failed

  RuntimeError

  Invalid hashes (sha256:753f02cb365917ebe1b86143923f99175aa7d014840883e1e60d10835d7430d8) for cryptography (36.0.1) using archive cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl. Expected one of sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3, sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31, sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac, sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf, sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316, sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca, sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638, sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94, sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12, sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173, sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b, sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a, sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f, sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2, sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32cb07956e9ebd3c9, sha256:ca238ceb7ba0bdf6ce88c1b74a87bffcee5afbfa1e41e173b1ceb095b39add46, sha256:ca28641954f767f9822c24e927ad894d45d5a1e501767599647259cbf030b90  • Installing googleapis-common-protos (1.54.0)
  • Installing docutils (0.18.1)
  • Installing google-auth (2.6.0): Installing...
  • Installing imagesize (1.3.0)
  • Installing cryptography (36.0.1): Failed

  RuntimeError

  Invalid hashes (sha256:753f02cb365917ebe1b86143923f99175aa7d014840883e1e60d10835d7430d8) for cryptography (36.0.1) using archive cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl. Expected one of sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3, sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31, sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac, sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf, sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316, sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca, sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638, sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94, sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12, sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173, sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b, sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a, sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f, sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2, sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32cb07956e9ebd3c9, sha256:ca238ceb7ba0bdf6ce88c1b74a87bffcee5afbfa1e41e173b1ceb095b39add46, sha256:ca28641954f767f9822c24e927ad894d45d5a1e501767599647259cbf030b903, sha256:e0344c14c9cb89e76eb6a060e67980c9e35b3f36691e15e1b7a9e58a0a6c6dc3, sha256:ebc15b1c22e55c4d5566e3ca4db8689470a0ca2babef8e3a9ee057a8b82ce4b1, sha256:ec63da4e7e4a5f924b90af42eddf20b698a70e58d86a72d943857c4c6045b3ee.

  • Installing imagesize (1.3.0)
  • Installing cryptography (36.0.1): Failed

  RuntimeError

  Invalid hashes (sha256:753f02cb365917ebe1b86143923f99175aa7d014840883e1e60d10835d7430d8) for cryptography (36.0.1) using archive cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl. Expected one of sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3, sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31, sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac, sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf, sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316, sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca, sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638, sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94, sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12, sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173, sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b, sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a, sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f, sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2, sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32cb07956e9ebd3c9, sha256:ca238ceb7ba0bdf6ce88c1b74a87bffcee5afbfa1e41e173b1ceb095b39add46, sha256:ca28641954f767f9822c24e927ad894d45d5a1e501767599647259cbf030b903, sha256:e0344c14c9cb89e76eb6a060e67980c9e35b3f36691e15e1b7a9e58a0a6c6dc3, sha256:ebc15b1c22e55c4d5566e3ca4db8689470a0ca2babef8e3a9ee057a8b82ce4b1, sha256:ec63da4e7e4a5f924b90af42eddf20b698a70e58d86a72d943857c4c6045b3ee.

  • Installing google-auth (2.6.0)
  • Installing imagesize (1.3.0)
  • Installing cryptography (36.0.1): Failed

  RuntimeError

  Invalid hashes (sha256:753f02cb365917ebe1b86143923f99175aa7d014840883e1e60d10835d7430d8) for cryptography (36.0.1) using archive cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl. Expected one of sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3, sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31, sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac, sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf, sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316, sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca, sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638, sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94, sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12, sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173, sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b, sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a, sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f, sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2, sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32cb07956e9ebd3c9, sha256:ca238ceb7ba0bdf6ce88c1b74a87bffcee5afbfa1e41e173b1ceb095b39add46, sha256:ca28641954f767f9822c24e927ad894d45d5a1e501767599647259cbf030b903, sha256:e0344c14c9cb89e76eb6a060e67980c9e35b3f36691e15e1b7a9e58a0a6c6dc3, sha256:ebc15b1c22e55c4d5566e3ca4db8689470a0ca2babef8e3a9ee057a8b82ce4b1, sha256:ec63da4e7e4a5f924b90af42eddf20b698a70e58d86a72d943857c4c6045b3ee.

  at .poetry/venv/lib/python3.7/site-packages/poetry/installation/executor.py:632 in _download_link
      628│                     "Invalid hashes ({}) for {} using archive {}. Expected one of {}.".format(
      629│                         ", ".join(sorted(archive_hashes)),
      630│                         package,
      631│                         archive_path.name,
    → 632│                         ", ".join(sorted(hashes)),
      633│                     )
      634│                 )
      635│ 
      636│         return archive

  • Installing iniconfig (1.1.1)
  • Installing httplib2 (0.20.2)
  • Installing jinja2 (2.11.3)
  • Installing lazy-object-proxy (1.7.1)
  • Installing packaging (21.3)
  • Installing pluggy (1.0.0)
  • Installing ply (3.11)
  • Installing py (1.11.0)
  • Installing pygments (2.11.2)
  • Installing pynacl (1.5.0)
  • Installing pyobjc-framework-quartz (8.2)
  • Installing python-dateutil (2.8.2)
  • Installing requests (2.25.1)
  • Installing smmap (5.0.0)
  • Installing snowballstemmer (2.2.0)
  • Installing sphinxcontrib-applehelp (1.0.2)
  • Installing sphinxcontrib-devhelp (1.0.2)
  • Installing sphinxcontrib-htmlhelp (2.0.0)
  • Installing sphinxcontrib-jsmath (1.0.1)
  • Installing sphinxcontrib-qthelp (1.0.3)
  • Installing sphinxcontrib-serializinghtml (1.1.5)
  • Installing toml (0.10.2)
  • Installing tomli (2.0.0)
  • Installing typed-ast (1.5.2)
  • Installing wcwidth (0.2.5)
  • Installing wrapt (1.13.3)
  • Installing yarl (1.7.2)
!!! Poetry environment installation failed

@antirotor
Copy link
Member Author

antirotor commented Feb 2, 2022

Got an error on OSX:

This is probably related with poetry cache itself. Try to clear it. And if it doesn't help try to run poetry lock before running create_env.sh

@Tilix4
Copy link
Collaborator

Tilix4 commented Feb 2, 2022

Poetry cache is all in .poetry folder right?

@antirotor
Copy link
Member Author

antirotor commented Feb 2, 2022

Poetry cache is all in .poetry folder right?

not entirely sure on macos, but should be. You can use poetry cache command to clean it too..

eh, actually in .poetry under openpype are only binaries, cache will be stored in user context somewhere

@Tilix4
Copy link
Collaborator

Tilix4 commented Feb 2, 2022

Poetry cache is all in .poetry folder right?

not entirely sure on macos, but should be. You can use poetry cache command to clean it too..

eh, actually in .poetry under openpype are only binaries, cache will be stored in user context somewhere

Got same error but with different output after running clear for the only cache I have.

$ .poetry/bin/poetry cache clear pypi --all
Delete 172 entries? (yes/no) [no] yes
MBP-de-Felix:OpenPype felixdavid$ ./tools/create_env.sh


             . .   ..     .    ..
        _oOOP3OPP3Op_. .
     .PPpo~·   ··   ~2p.  ··  ····  ·  ·
    ·Ppo · .pPO3Op.· · O:· · · ·
   .3Pp · oP3'· 'P33· · 4 ··   ·  ·   · ·· ·  ·  ·
  ·~OP    3PO·  .Op3    : · ··  _____  _____  _____
  ·P3O  · oP3oP3O3P' · · ·   · /    /·/    /·/    /
   O3:·   O3p~ ·       ·:· · ·/____/·/____/ /____/
   'P ·   3p3·  oP3~· ·.P:· ·  · ··  ·   · ·· ·  ·  ·
  · ':  · Po'  ·Opo'· .3O· .  o[ by Pype Club ]]]==- - - ·  ·
    · '_ ..  ·    . _OP3··  ·  ·https://openpype.io·· ·
         ~P3·OPPPO3OP~ · ··  ·
           ·  ' '· ·  ·· · · · ··  ·


>>> Using python [ 3.7 ]
>>> Reading Poetry ... OK
>>> Updating dependencies ...
Installing dependencies from lock file

Package operations: 68 installs, 0 updates, 0 removals

  • Installing cryptography (36.0.1): Failed

  RuntimeError

  Invalid hashes (sha256:753f02cb365917ebe1b86143923f99175aa7d014840883e1e60d10835d7430d8) for cryptography (36.0.1) using archive cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl. Expected one of sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3, sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31, sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac, sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf, sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316, sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca, sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638, sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94, sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12, sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173, sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b, sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a, sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f, sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2, sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32cb07956e9ebd3c9, sha256:ca238ceb7ba0bdf6ce88c1b74a87bffcee5afbfa1e41e173b1ceb095b39add46, sha256:ca28641954f767f9822c24e927ad894d45d5a1e501767599647259cbf030b903, sha256:e0344c14c9cb89e76eb6a060e67980c9e35b3f36691e15e1b7a9e58a0a6c6dc3, sha256:ebc15b1c22e55c4d5566e3ca4db8689470a0ca2babef8e3a9ee057a8b82ce4b1, sha256:ec63da4e7e4a5f924b90af42eddf20b698a70e58d86a72d943857c4c6045b3ee.

  at .poetry/venv/lib/python3.7/site-packages/poetry/installation/executor.py:632 in _download_link
      628│                     "Invalid hashes ({}) for {} using archive {}. Expected one of {}.".format(
      629│                         ", ".join(sorted(archive_hashes)),
      630│                         package,
      631│                         archive_path.name,
    → 632│                         ", ".join(sorted(hashes)),
      633│                     )
      634│                 )
      635│ 
      636│         return archive

!!! Poetry environment installation failed

@antirotor
Copy link
Member Author

then delete the lock file and run poetry lock

@antirotor antirotor merged commit e3828d4 into develop Feb 2, 2022
@antirotor antirotor deleted the bugfix/OP-2553_fix-pulling_of_cx_freeze_6_10 branch February 2, 2022 17:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants