chore: unbreak pip-compile-multi (#17963)

* chore: unbreak pip-compile-multi

* add docs
This commit is contained in:
Ville Brofeldt 2022-01-07 15:29:13 +02:00 committed by GitHub
parent e6ef7da758
commit eeaa57372e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 13 deletions

View File

@ -476,6 +476,20 @@ $ python3 -m pip install -r requirements/integration.txt
$ pip-compile-multi --no-upgrade
```
When upgrading the version number of a single package, you should run `pip-compile-multi` with the `-P` flag:
```bash
$ pip-compile-multi -P my-package
```
To bring all dependencies up to date as per the restrictions defined in `setup.py` and `requirements/*.in`, run pip-compile-multi` without any flags:
```bash
$ pip-compile-multi
```
This should be done periodically, but it is rcommended to do thorough manual testing of the application to ensure no breaking changes have been introduced that aren't caught by the unit and integration tests.
#### Logging to the browser console
This feature is only available on Python 3. When debugging your application, you can have the server logs sent directly to the browser console using the [ConsoleLog](https://github.com/betodealmeida/consolelog) package. You need to mutate the app, by adding the following to your `config.py` or `superset_config.py`:

View File

@ -19,3 +19,4 @@
pyrsistent>=0.16.1,<0.17
zipp==3.4.1
sasl==0.3.1
wrapt==1.12.1 # required by astroid<2.9 until we bump pylint

View File

@ -1,4 +1,4 @@
# SHA1:04efc15075d69b1a2b5fa6c76b84c77a2f5c04e3
# SHA1:8e1f4e29cff52824dc5e1c2937c4ea1b1b3187fe
#
# This file is autogenerated by pip-compile-multi
# To update, run:
@ -164,7 +164,7 @@ numpy==1.21.1
# via
# pandas
# pyarrow
packaging==21.0
packaging==21.3
# via
# bleach
# deprecation
@ -189,7 +189,7 @@ pyjwt==1.7.1
# flask-jwt-extended
pymeeus==0.5.11
# via convertdate
pyparsing==2.4.7
pyparsing==3.0.6
# via
# apache-superset
# packaging

View File

@ -19,4 +19,3 @@ pre-commit
tox
py>=1.10.0
click==7.1.2
packaging==21.0

View File

@ -1,4 +1,4 @@
# SHA1:17ab2346746deadfc557e1df96014e77c8337f4b
# SHA1:03eb2d96afe21f1bda1ab33b4cf84e670a1efe21
#
# This file is autogenerated by pip-compile-multi
# To update, run:
@ -24,10 +24,8 @@ identify==2.2.13
# via pre-commit
nodeenv==1.6.0
# via pre-commit
packaging==21.0
# via
# -r requirements/integration.in
# tox
packaging==21.3
# via tox
pep517==0.11.0
# via pip-tools
pip-compile-multi==2.4.1
@ -44,7 +42,7 @@ py==1.10.0
# via
# -r requirements/integration.in
# tox
pyparsing==2.4.7
pyparsing==3.0.6
# via packaging
pyyaml==5.4.1
# via pre-commit

View File

@ -36,6 +36,5 @@ pytest
pytest-cov
statsd
pytest-mock
packaging==21.0
# DB dependencies
-e file:.[bigquery]

View File

@ -1,4 +1,4 @@
# SHA1:4aabffca9a6688f2911d6f8697495e7045a529d0
# SHA1:9658361c2ab00a6b27c5875b7b3557c2999854ba
#
# This file is autogenerated by pip-compile-multi
# To update, run:

View File

@ -94,7 +94,7 @@ setup(
"parsedatetime",
"pgsanity",
"polyline",
"pyparsing>=2.4.7, <3.0.0",
"pyparsing>=3.0.6, <4",
"python-dateutil",
"python-dotenv",
"python-geohash",