mirror of https://github.com/jumpserver/jumpserver
fix: 锁定依赖 Cython==0.29.35 --no-build-isolation pymssql==2.1.5 (#11063)
* fix: 增加 pip 参数 --use-deprecated=legacy-resolver * fix: 升级依赖 pymssql==2.2.7 oracledb==1.2.2 * fix: 升级依赖 git+https://github.com/marcwimmer/pymssql@fix_cython_compiler_version * fix: 锁定依赖 Cython==0.29.22 * fix: 锁定依赖 Cython==0.29.35 --no-build-isolation pymssql==2.1.5 * fix: 锁定依赖 Cython==0.29.35 --no-build-isolation pymssql==2.1.5 * fix: 锁定依赖 * fix: 锁定依赖 * fix: 锁定依赖 * fix: 锁定依赖 * fix: 锁定依赖 --------- Co-authored-by: Bai <baijiangjie@gmail.com>pull/11623/head
parent
d5a9942159
commit
ee9687743e
|
@ -87,8 +87,10 @@ RUN --mount=type=cache,target=/root/.cache/pip \
|
|||
&& pip config set global.index-url ${PIP_MIRROR} \
|
||||
&& pip install --upgrade pip \
|
||||
&& pip install --upgrade setuptools wheel \
|
||||
&& pip install Cython==0.29.35 \
|
||||
&& pip install --no-build-isolation pymssql \
|
||||
&& pip install $(grep -E 'jms|jumpserver' requirements/requirements.txt) -i ${PIP_JMS_MIRROR} \
|
||||
&& pip install -r requirements/requirements.txt
|
||||
&& pip install -r requirements/requirements.txt --use-deprecated=legacy-resolver
|
||||
|
||||
COPY --from=stage-build /opt/jumpserver/release/jumpserver /opt/jumpserver
|
||||
RUN echo > /opt/jumpserver/config.yml \
|
||||
|
|
|
@ -128,9 +128,9 @@ kubernetes==21.7.0
|
|||
# DB requirements
|
||||
mysqlclient==2.1.0
|
||||
PyMySQL==1.0.2
|
||||
oracledb==1.0.1
|
||||
oracledb==1.2.2
|
||||
psycopg2-binary==2.9.1
|
||||
pymssql==2.1.5
|
||||
# pymssql==2.2.7
|
||||
django-mysql==3.9.0
|
||||
django-redis==5.2.0
|
||||
python-redis-lock==3.7.0
|
||||
|
|
Loading…
Reference in New Issue