dbcli / dbcli/mssql-cli

Support for Apple Silicon

オープン
#537 コメント 4 件 リアクション 25 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
1.4k
フォーク
191
PR マージ指標
30日以内にマージされた PR はありません

説明

## No arm64 Support

Future Macs may all use the arm64 architecture. Please add support for arm64, thanks!

## System Info
``` plain
OS: macOS Monterey Version 12.1 (21C52)
Chip: Apple M1
```

Architecture:

``` plain
$ uname -m
arm64
```

## Python & Pip Version

``` plain
$ pip3 --version
pip 21.3.1 from /Users/reeky/Library/Python/3.9/lib/python/site-packages/pip (python 3.9)

$ python3 --version
Python 3.9.9
```

## Install & Run

``` plain
$ pip3 install --user mssql-cli
Looking in indexes: https://pypi.org/simple
Collecting mssql-cli
Using cached mssql_cli-0.3-py3-none-any.whl
Collecting pymssql
Using cached pymssql-2.2.3-cp39-cp39-macosx_12_0_arm64.whl
Installing collected packages: pymssql, mssql-cli
Successfully installed mssql-cli-0.3 pymssql-2.2.3

$ mssql-cli
zsh: command not found: mssql-cli
```

It's successfully installed, but there's no executable file:

``` plain
$ ls -l /Users/reeky/Library/Python/3.9/lib/python/site-packages | grep mssql_cli
drwxr-xr-x 5 reeky staff 160 Jan 10 19:06 mssql_cli
drwxr-xr-x 8 reeky staff 256 Jan 10 19:06 mssql_cli-0.3.dist-info

$ ls -l /Users/reeky/Library/Python/3.9/bin | grep mssql-cli
(nothing)
```

## mssql-cli Info

The latest version of `mssql-cli` is `1.0.0`, but `0.3` is installed:

``` plain
$ pip3 show mssql-cli
Name: mssql-cli
Version: 0.3
Summary: A way to run queries and execute commands against an MSSQL database.
Home-page: http://github.com/seanchon/mssql_cli/
Author: Sean Chon
Author-email: s@seanchon.com
License: MIT
Location: /Users/reeky/Library/Python/3.9/lib/python/site-packages
Requires: pymssql
Required-by:
```

And there's no `1.0.0` for arm64:

``` plain
$ pip install --user mssql-cli==1.0.0
Looking in indexes: https://pypi.org/simple
ERROR: Could not find a version that satisfies the requirement mssql-cli==1.0.0 (from versions: 0.1, 0.2, 0.3)
ERROR: No matching distribution found for mssql-cli==1.0.0
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the reported pip3 install and mssql-cli command failure on macOS arm64, then inspect the published mssql-cli versions and package metadata. Done means a current release is available for Apple Silicon, installs successfully with pip, and provides the mssql-cli executable.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
cli, release
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。