未验证 提交 899c9fd7 编写于 作者: R Roman Donchenko 提交者: GitHub

Remove --no-binary=av from requirements files (#6592)

Since c56f2e9a, we use this flag in the Dockerfile, so it's not
necessary to duplicate it in the requirements files. Omitting it makes
it easier to set up development environments, since developers don't
need to install FFmpeg.

This also fixes pip-compile runs, which were broken, because PyAV is
incompatible with Cython 3. Now pip-compile can use the precompiled
version.
上级 6a488b26
......@@ -8,7 +8,5 @@
-r development.txt
-r production.txt
-r testing.txt
--no-binary av
# The following packages are considered to be unsafe in a requirements file:
......@@ -41,7 +41,7 @@ opencv-python-headless==4.5.5.62
h5py==3.6.0
django-cors-headers==3.5.0
furl==2.1.0
av==9.2.0 --no-binary=av
av==9.2.0
tensorflow==2.11.1 # Optional requirement of Datumaro. Use tensorflow-macos==2.8.0 for Mac M1
# The package is used by pyunpack as a command line tool to support multiple
# archives. Don't use as a python module because it has GPL license.
......
# SHA1:47a46c0f57bd02f1446db65b3d107ca9e7927d76
# SHA1:1da07708cc7e220162434a98ef654f6d61089283
#
# This file is autogenerated by pip-compile-multi
# To update, run:
......@@ -6,8 +6,6 @@
# pip-compile-multi
#
-r ../../utils/dataset_manifest/requirements.txt
--no-binary av
absl-py==1.4.0
# via
# tensorboard
......
......@@ -6,8 +6,6 @@
# pip-compile-multi
#
-r base.txt
--no-binary av
astroid==2.11.7
# via pylint
autopep8==2.0.2
......
......@@ -6,8 +6,6 @@
# pip-compile-multi
#
-r base.txt
--no-binary av
anyio==3.7.1
# via watchfiles
coverage==7.2.3
......
......@@ -6,8 +6,6 @@
# pip-compile-multi
#
-r development.txt
--no-binary av
coverage==7.2.3
# via -r cvat/requirements/testing.in
fakeredis==2.10.3
......
......@@ -12,7 +12,7 @@ description: 'Installing a development environment for different operating syste
Ubuntu 18.04
```bash
sudo apt-get update && sudo apt-get --no-install-recommends install -y build-essential curl git redis-server python3-dev python3-pip python3-venv python3-tk libldap2-dev libsasl2-dev pkg-config libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libswresample-dev libavfilter-dev
sudo apt-get update && sudo apt-get --no-install-recommends install -y build-essential curl git redis-server python3-dev python3-pip python3-venv python3-tk libldap2-dev libsasl2-dev
```
```bash
......@@ -53,8 +53,6 @@ description: 'Installing a development environment for different operating syste
- Install Chrome
- Install FFmpeg libraries (libav\*) version 4.0 or higher.
- Install [VS Code](https://code.visualstudio.com/docs/setup/linux#_debian-and-ubuntu-based-distributions).
- Install the following VScode extensions:
......
av==9.2.0 --no-binary=av # Pinned for the whole CVAT
av==9.2.0 # Pinned for the whole CVAT
opencv-python-headless>=4.4.0.42
Pillow==9.3.0
tqdm>=4.58.0
......
# SHA1:172275fac2f1fa6324a38130619bb7994d5aa413
# SHA1:28d323bec97cee6586d917faf4c7f58199475771
#
# This file is autogenerated by pip-compile-multi
# To update, run:
#
# pip-compile-multi
#
--no-binary av
av==9.2.0
# via -r utils/dataset_manifest/requirements.in
natsort==8.0.0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册