Skip to content
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

Wheel Aarch64 of version 2.4.10 is corrupted #212

Open
jean-humann opened this issue Sep 27, 2024 · 4 comments
Open

Wheel Aarch64 of version 2.4.10 is corrupted #212

jean-humann opened this issue Sep 27, 2024 · 4 comments

Comments

@jean-humann
Copy link

When I try to install the version 2.4.10 of milvus-lite on a arm64 architecture, I'm getting this error.

#19 5.665 Skipping milvus_lite-2.4.10-py3-none-manylinux2014_aarch64.whl as sha256:240c7386b747bad696ecb5bd1f58d491e86b9d4b92dccee3315ed7256256eddc checksum does not match expected value
#19 5.665 Skipping wheel milvus_lite-2.4.10-py3-none-macosx_10_9_x86_64.whl as this is not supported by the current environment
#19 5.665 Skipping wheel milvus_lite-2.4.10-py3-none-macosx_11_0_arm64.whl as this is not supported by the current environment
#19 5.665 Skipping wheel milvus_lite-2.4.10-py3-none-manylinux2014_x86_64.whl as this is not supported by the current environment

Digging on pypi, we can see that all binary have been uploaded on 06/09/2024, except this one who has been uploaded on 10/09/2024.

"2.4.10": [
      {
        "comment_text": "",
        "digests": {
          "blake2b_256": "7c0b262997e63e2eaaf5d9f93d73c9d3e75499c6ec058bd1307864be7efb6704",
          "md5": "e251242c8cbdc238ba145046e74bb753",
          "sha256": "fc4246d3ed7d1910847afce0c9ba18212e93a6e9b8406048436940578dfad5cb"
        },
        "downloads": -1,
        "filename": "milvus_lite-2.4.10-py3-none-macosx_10_9_x86_64.whl",
        "has_sig": false,
        "md5_digest": "e251242c8cbdc238ba145046e74bb753",
        "packagetype": "bdist_wheel",
        "python_version": "py3",
        "requires_python": ">=3.7",
        "size": 22281832,
        "upload_time": "2024-09-06T07:54:16",
        "upload_time_iso_8601": "2024-09-06T07:54:16.231479Z",
        "url": "https://files.pythonhosted.org/packages/7c/0b/262997e63e2eaaf5d9f93d73c9d3e75499c6ec058bd1307864be7efb6704/milvus_lite-2.4.10-py3-none-macosx_10_9_x86_64.whl",
        "yanked": false,
        "yanked_reason": null
      },
      {
        "comment_text": "",
        "digests": {
          "blake2b_256": "17209054ace78c61d64a6c24b8e3d6c8a73b23b447028e43c4d1e6c878e8294a",
          "md5": "b87e3a87488a0d4c5a8b8a8702010cd7",
          "sha256": "74a8e07c5e3b057df17fbb46913388e84df1dc403a200f4e423799a58184c800"
        },
        "downloads": -1,
        "filename": "milvus_lite-2.4.10-py3-none-macosx_11_0_arm64.whl",
        "has_sig": false,
        "md5_digest": "b87e3a87488a0d4c5a8b8a8702010cd7",
        "packagetype": "bdist_wheel",
        "python_version": "py3",
        "requires_python": ">=3.7",
        "size": 19855994,
        "upload_time": "2024-09-06T07:54:34",
        "upload_time_iso_8601": "2024-09-06T07:54:34.972941Z",
        "url": "https://files.pythonhosted.org/packages/17/20/9054ace78c61d64a6c24b8e3d6c8a73b23b447028e43c4d1e6c878e8294a/milvus_lite-2.4.10-py3-none-macosx_11_0_arm64.whl",
        "yanked": false,
        "yanked_reason": null
      },
      {
        "comment_text": "",
        "digests": {
          "blake2b_256": "348e7858d12d89bf9e84302c6ffd5faf776d7b2de4372a07461f726ce6f9929e",
          "md5": "97a482e270f863ce905af17131fca290",
          "sha256": "240c7386b747bad696ecb5bd1f58d491e86b9d4b92dccee3315ed7256256eddc"
        },
        "downloads": -1,
        "filename": "milvus_lite-2.4.10-py3-none-manylinux2014_aarch64.whl",
        "has_sig": false,
        "md5_digest": "97a482e270f863ce905af17131fca290",
        "packagetype": "bdist_wheel",
        "python_version": "py3",
        "requires_python": ">=3.7",
        "size": 39614866,
        "upload_time": "2024-09-10T03:13:49",
        "upload_time_iso_8601": "2024-09-10T03:13:49.064563Z",
        "url": "https://files.pythonhosted.org/packages/34/8e/7858d12d89bf9e84302c6ffd5faf776d7b2de4372a07461f726ce6f9929e/milvus_lite-2.4.10-py3-none-manylinux2014_aarch64.whl",
        "yanked": false,
        "yanked_reason": null
      },
      {
        "comment_text": "",
        "digests": {
          "blake2b_256": "8465639cb552c892ba5fef73301f878b2e7cabb59c918e0c49c9cf3026d49447",
          "md5": "f52c67ef40ea1059d3f8c6502d828fc3",
          "sha256": "211d2e334a043f9282bdd9755f76b9b2d93b23bffa7af240919ffce6a8dfe325"
        },
        "downloads": -1,
        "filename": "milvus_lite-2.4.10-py3-none-manylinux2014_x86_64.whl",
        "has_sig": false,
        "md5_digest": "f52c67ef40ea1059d3f8c6502d828fc3",
        "packagetype": "bdist_wheel",
        "python_version": "py3",
        "requires_python": ">=3.7",
        "size": 49377774,
        "upload_time": "2024-09-06T07:55:04",
        "upload_time_iso_8601": "2024-09-06T07:55:04.370122Z",
        "url": "https://files.pythonhosted.org/packages/84/65/639cb552c892ba5fef73301f878b2e7cabb59c918e0c49c9cf3026d49447/milvus_lite-2.4.10-py3-none-manylinux2014_x86_64.whl",
        "yanked": false,
        "yanked_reason": null
      }
    ],
@junjiejiangjjj
Copy link
Collaborator

hi @jean-humann , the packages on the pip source were not released on the same day. I verified it locally and the package is fine. Can you try reinstalling it?

@jean-humann
Copy link
Author

I tried it several times when building an image using Docker and poetry, everything is fine when build on amd64 architecture but keep getting an error when using arm64 architecture.

@jean-humann
Copy link
Author

Here is the complete Stack Trace following the first logs saying the SHA256 didn't match

#19 5.912   Stack trace:
#19 5.912 
#19 5.912   5  /usr/local/lib/python3.10/site-packages/poetry/installation/executor.py:285 in _execute_operation
#19 5.928       283│ 
#19 5.928       284│             try:
#19 5.928     → 285│                 result = self._do_execute_operation(operation)
#19 5.929       286│             except EnvCommandError as e:
#19 5.929       287│                 if e.e.returncode == -2:
#19 5.929 
#19 5.929   4  /usr/local/lib/python3.10/site-packages/poetry/installation/executor.py:395 in _do_execute_operation
#19 5.943       393│             return 0
#19 5.943       394│ 
#19 5.943     → 395│         result: int = getattr(self, f"_execute_{method}")(operation)
#19 5.943       396│ 
#19 5.943       397│         if result != 0:
#19 5.943 
#19 5.943   3  /usr/local/lib/python3.10/site-packages/poetry/installation/executor.py:520 in _execute_install
#19 5.957       518│ 
#19 5.957       519│     def _execute_install(self, operation: Install | Update) -> int:
#19 5.957     → 520│         status_code = self._install(operation)
#19 5.957       521│ 
#19 5.957       522│         self._save_url_reference(operation)
#19 5.957 
#19 5.957   2  /usr/local/lib/python3.10/site-packages/poetry/installation/executor.py:558 in _install
#19 5.971       556│             archive = self._download_link(operation, Link(package.source_url))
#19 5.971       557│         else:
#19 5.971     → 558│             archive = self._download(operation)
#19 5.971       559│ 
#19 5.971       560│         operation_message = self.get_operation_message(operation)
#19 5.971 
#19 5.971   1  /usr/local/lib/python3.10/site-packages/poetry/installation/executor.py:736 in _download
#19 5.985       734│ 
#19 5.985       735│     def _download(self, operation: Install | Update) -> Path:
#19 5.985     → 736│         link = self._chooser.choose_for(operation.package)
#19 5.985       737│ 
#19 5.985       738│         if link.yanked:
#19 5.985 
#19 5.985   RuntimeError
#19 5.985 
#19 5.985   Unable to find installation candidates for milvus-lite (2.4.10)
#19 5.985 
#19 5.985   at /usr/local/lib/python3.10/site-packages/poetry/installation/chooser.py:74 in choose_for
#19 5.988        70│ 
#19 5.988        71│             links.append(link)
#19 5.988        72│ 
#19 5.988        73│         if not links:
#19 5.988     →  74│             raise RuntimeError(f"Unable to find installation candidates for {package}")
#19 5.988        75│ 
#19 5.988        76│         # Get the best link
#19 5.988        77│         chosen = max(links, key=lambda link: self._sort_key(package, link))
#19 5.988        78│ 
#19 5.988 
#19 5.988 Cannot install milvus-lite.
#19 5.988 

@junjiejiangjjj
Copy link
Collaborator

I also successfully installed Milvus-lite using poetry,
you can try this command, or change the pip source

pip install milvus-lite --no-cache-dir

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants