Commit Graph

77 Commits

Author SHA1 Message Date
John Bodley a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks (#24197) 2023-06-01 12:01:10 -07:00
Sebastian Liebscher e3719a1b07
feat: bump to Python3.9 (#23890)
Co-authored-by: EugeneTorap <evgenykrutpro@gmail.com>
2023-05-10 20:21:56 +03:00
Holger Bruch 389b29fdd8
feat(lang): update messages.po(t) and add missing German translations (#23402) 2023-04-07 15:52:49 -06:00
Josh Soref 78ede590ee
chore(frontend): Spelling (#19676)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-02-02 11:23:11 -07:00
Josh Soref 02e5dcbbf2
chore(misc): Spelling (#19678)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-01-25 16:35:08 -07:00
Artem Shumeiko 64496e8c88
fix(localization): pybabel doesn't extract plural forms from frontend (#22507) 2022-12-31 10:46:45 +00:00
Ville Brofeldt 05b97fff4d
fix(cache): respect default cache timeout on v1 chart data requests (#21441) 2022-09-13 15:56:04 +02:00
Michael S. Molina 72e5e57a6c
chore: Updates the final steps of the release README (#20318)
* chore: Updates the final steps of the release README

* Apply suggestions from code review

Co-authored-by: Yongjie Zhao <yongjiezhao@apache.org>

Co-authored-by: Yongjie Zhao <yongjiezhao@apache.org>
2022-06-10 08:58:24 -03:00
Jesse Yang ea708162a5
feat(CI): clean up Python tests output (#19489) 2022-04-03 16:27:43 -07:00
Beto Dealmeida 63b5e2e4fa
perf: improve perf in SIP-68 migration (#19416)
* chore: improve perf in SIP-68 migration

* Small fixes

* Create tables referenced in SQL

* Update logic in SqlaTable as well

* Fix unit tests
2022-03-29 22:33:15 -07:00
Ville Brofeldt a619cb4ea9
chore: upgrade black (#19410) 2022-03-29 20:03:09 +03:00
Daniel Vaz Gaspar f37fc1a7f0
chore: bump majors on celery and Flask (#19168)
* chore: bump celery, Flask, flask-jwt-extended, pyJWT

* fix pyJWT breaking change

* fix pyJWT breaking change 2

* test

* fixed test

* fixed test

* fixed test

* revert since mypy won't pick the correct signature

* lint 1

* fix test

* fix test

* docs and celery config migration

* bump FAB to 4.0.0rc3, remove AUTH_STRICT_RESPONSE_CODES

* update docs for new celery config keys

* downgrade celery to 5.2.2

* ref FAB to final 4.0.0 release

* remove conflict left over
2022-03-24 09:16:53 +00:00
Erik Ritter 9900e5a689
fix: exclude node_modules from ts tracking (#18117) 2022-01-25 10:14:25 -08:00
Amit Miran 4954d52329
ci: make presto hive tests to cover only chartData and sqljson (#17782)
* chore: make presto hive tests to cover only chartData and sqljson

* fix: single quote

* fix: add eval for arguments

* fix: add double quotes on args

* chore: add @pytest.mark.sql_json_flow

* fix: pre-commit
2021-12-31 07:17:54 +02:00
Bogdan bcd698d999
chore: print test runtime (#17770)
* Print test runtime

* revert me

* duration for unit tests as well

* Revert "revert me"

This reverts commit b82d701d65f97ba617c4fc89e0ff56eee74885f2.

Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2021-12-16 10:33:15 -08:00
Daniel Vaz Gaspar 485852d700
ci: temp fix for mysqlclient on an OS regression bug (#17724) 2021-12-13 12:03:41 +00:00
Erik Ritter 8e69b2db34
chore: Update TS tasklist script (#17691) 2021-12-09 22:28:42 -08:00
Yongjie Zhao 12f1d914bd
chore: update babel doc (#17679)
* chore: update babel doc

* update .po file

* update translation workflow
2021-12-08 16:36:57 +08:00
Yongjie Zhao 3c41ff68a4
refactor(monorepo): move superset-ui to superset(stage 2) (#17552) 2021-11-30 08:29:57 +08:00
Ville Brofeldt 77e7d162d2
ci: check npm lockfile version (#16916) 2021-09-30 10:43:38 +02:00
Ville Brofeldt b92358b5b8
ci: bump npm to version 7 (#16748) 2021-09-20 15:01:47 +03:00
John Bodley 7b724439b9
chore(pylint): Reenable ungrouped-imports check (#16256)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-08-17 04:01:01 +12:00
Ville Brofeldt d46dc9aa45
chore: upgrade mypy and add type guards (#16227) 2021-08-14 06:31:45 +03:00
Beto Dealmeida 9a79a5775b
feat: store query context when saving charts (#15824)
* WIP

* Add migration

* Fix tests
2021-07-21 13:54:39 -07:00
John Bodley ab4e3b9bf9
chore: Enforce Mypy for non-tests (#15757)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-07-22 06:46:43 +12:00
Beto Dealmeida d26254099e
fix: benchmark_migration.py needs to close sssion (#15822) 2021-07-21 11:16:46 -07:00
Beto Dealmeida 6cb91ee142
fix: migration script can't drop constraint (#15807) 2021-07-20 17:24:58 -07:00
Beto Dealmeida 5cc95bb378
fix: create fk model in benchmark script (#15804) 2021-07-20 14:04:19 -07:00
AAfghahi 80dd525026
feat: adding Progress Bar to Benchmark script (#15719)
* rough draft of benchmark script

* revisions

* revisions

* rough draft of benchmark script

* revisions

* Update requirements/development.in

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/utils/mock_data.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* more revisions

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-07-19 16:34:58 -07:00
ofekisr b5119b8dff
refactor(tests): decouple unittests from integration tests (#15473)
* refactor move all tests to be under integration_tests package

* refactor decouple unittests from integration tests - commands

* add unit_tests package

* fix celery_tests.py

* fix wrong FIXTURES_DIR value
2021-07-01 18:03:07 +03:00
Beto Dealmeida 3b97074ecb
fix: benchmark migration script (#15032) 2021-06-08 13:57:07 -07:00
Beto Dealmeida c1cb3619ab
feat: script to benchmark DB migrations (#13561) 2021-04-15 10:55:35 -07:00
Ben Reinhart 52b5ea33d7
fix: restart superset container in test script (#13780) 2021-03-25 15:31:50 -07:00
Ville Brofeldt 40fc144bbe
ci: increase page size of GH PR API call (#13518) 2021-03-09 08:27:59 +02:00
Jesse Yang d39bc14a0b
test: optimize codecov config (#13329)
* test: optimize codecov config to let GitHub checks always pass

* Run tests on workflow changes, too
2021-02-25 05:22:34 -08:00
Ville Brofeldt 15567dd627
ci: always execute tests on non-PRs (#13260) 2021-02-22 08:23:34 +02:00
Ville Brofeldt ad380fd0f8
fix(ci): multiline regex in change detection (#13075)
* fix(ci): multiline regex in change detection

* fix shellcheck issues
2021-02-11 15:40:44 +02:00
Jesse Yang 2456a2eb99
chore: remove example token to avoid confusion (#12967) 2021-02-05 12:22:34 -08:00
Ville Brofeldt 5d55c4367c
ci: conditionally skip python and frontend tests (#12583)
* ci: conditionally skip python tests

* parametrize check script and implement for frontend

* add missing script

* fix incorrect check

* move CHECKS to ARGS and fix typo

* fix SC2086 nit
2021-02-05 17:40:08 +02:00
Jesse Yang 9c5ec3d72a
fix(CI): properly configure cancel duplicates (#12625)
Updating the "Cancel Duplicates" job to use our own Python script, which will try to cancel all duplicate jobs of all workflows:

For each workflow, we keep only the latest run for a given branch + event type (pull_request or push).
Older runs will be cancelled even if they are already running.
2021-01-29 12:29:46 -08:00
Elizabeth Thompson 80deb4ed7c
fix: update latest tag action to use set-output (#12706) 2021-01-24 16:40:52 -08:00
Michael S. Molina c85b4c75b1
Fix translation files and update documentation (#12595) 2021-01-20 10:50:24 -08:00
Amit Miran 4cf3f99ee8
chore: remove additional incubator references (#12336)
* chore: remove additional incubator references
remove incubator.png from the main docs page

* fix: improve text for contributing-page.mdx

* fix: lint no-unused-vars
2021-01-11 06:09:10 -08:00
Jesse Yang f48284909d
build: try to speed up Github workflows (#12090) 2021-01-07 00:47:00 -08:00
Elizabeth Thompson 895fa19d8d
chore: add latest tag action (#11148)
* add latest tag action

* update documentation with latest tag info

* Python in docs doesn't need v3 reference

* add check that latest tag is truly a later version

* remove rc from acceptable tags

* move tag script to seperate file

* add a check that the tag exists
2020-12-17 20:50:44 +02:00
Beto Dealmeida 7594161856
fix: do not import superset_config on tests (#11193)
* Do not import superset_config on tests

* Use strtobool
2020-10-14 07:54:31 -07:00
Amit Miran 63579b3049
allow passing bash args into the pytest (#11040)
this can be used in local environment when for example you want to pass specific *mark* to run against
2020-10-05 15:46:25 -07:00
Maxime Beauchemin 6358a7f1b5
docs: add API page to docs using Swagger UI (#11154)
* docs: add API page to docs using Swagger UI

* silence fossa
2020-10-04 22:01:36 -07:00
Ville Brofeldt 39cce712af
docs: add changelog entries for 0.37.2 (#11086) 2020-09-28 11:14:09 +03:00
Rob DiCiuccio d74044c2e6
Update FOSSA configuration for new requirements layout (#10848)
* Update FOSSA configuration

* test FOSSA failure

* Update FOSSA files changed regex

* Revert "test FOSSA failure"

This reverts commit a97213db78.

* pre-commit linting

* remove docker.txt check
2020-09-16 13:28:04 -07:00