Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pixi build directories for workflows (#225)
* add vendor pkgs * remove ci * pixi migration WIP * bump ecoscope version in vendor * rebuild ecoscope vendor * test all in ci * split tests across a few different jobs * add doctest and rename workflow * parametrize python version * move strategy * test python versions * rename back to CI * parallelize e2e test runs * try to fix rtd * lock docs env * fix command * fix docs env * simplify pyproject python definitions * alphabetize features * mypy wip * mypy WIP continued * mypy WIP continued * more typing * try to run mypy with pixi in pre-commit * bump ruff, remove mypy from pre-commit * remove lint * run mypy in ci * moar mypy * some import untyped ignores * use ruamel.yaml in CLI * mypy cont * more mypy * typing typing * pa_typing * give up with er io return values * only 9 errors left * cast according to pandera docs * wow one error * mypy 312 passes * fix circular imports * some tweaks for pydantic.mypy * cast to save a few more type ignores * vendor version check WIP * vendor version check appears to work * vendor version check * vendor version check task * vendor version check * add manual build/push actions * update lockfile * README update for pixi install * mypy fixes for #223 * recompile params since legend is optional * remove etd cached parquet * relock and add io marker * rebuild + repush for lonboard 0.0.3 * relock * oh maybe we dont need 0.0.3 * mypy check tests * use ruamel.yaml in tests * type ignore mypy failures in tests * cast colors to strs before passing them to lonboard * revert examples params changes * mode map build dir first commit * mode map pyproject wip * simplify e2e test * maybe pixi.toml makes more sense * move pixi.toml into bld (bc it will be generated) * add pixi.lock for mode-map * move mode-map spec to top level of examples dir * test cases WIP * sequential test passes * will this run * fallback version for scm * move test_case to testing * some light renaming * update gh workflow * fix test * a little build dir data modeling * some more artifact modeling * compiler rewrite first pass * compile build dir command wip continued * dags compile correctly * add params-jsonschema * pixi toml WIP * PixiToml.from_file works * toml roundtrip complete * ecoscope_core feature WIP * add tasks(requires=[..]) features * fix features to get decorator tests to pass * skip features reserved module name * fix compiler test * fix examples tests (not e2e) * get e2e tests passing * so do all tests pass now? * get_pixi_toml WIP * mypy fix task overload * complete mypy fixes * fix examples test * try to fix sequential test * move README into workflow dir (it will be generated) * hatchling * rm symlinked pyproject.toml * relock mode-map with minimal pyproject.toml * relock main envs, retry on mode-map env * fix entrypoints table * custom build hook / feature registry WIP * add pixi.sh decision matrix * update decision matrix * namespaces take 2 * biggest commit i've ever made? * move groupby to core * remove duplicate aggretation from extension * add test envs to core * move classification to extension * move filtering to extension * core tasks tests pass' * run core task tests in ci * test all python versions * extension tasks pass locally * test extension tasks in ci * fix workflows typo * rename extension -> ext.ecoscope * ext.ecoscope continued * fix ext.ecoscope tasks * enable io tests * add connections tests to ext.ecoscope * add test annotations to core tests * add compiler tests to ext.ecoscope test * add test config to ext.ecoscope * add decorator tests to core * add executors tests to core * add graph tests to core * add test registry to ext.ecoscope * fix broken import * fix more broken imports * add test serde to core * add testing utils test to ext.ecoscope * add test type adapter to core * remove all original tests except examples * oops forgot to commit thos * fix tests? * the last problem with tests? * apparently not * mypy WIP * mypy WIP continued * get mypy to pass for core * add py.typed marker to core * add py.typed marker to ext.ecoscope as well * mypy passing for ext.ecoscope * doctests pass for core * fix doctest type * ext.ecoscope doesn't have doctests * recompile mode-map build dir * build conda dist from examples WIP * move conda-dist to top level * ecoscope-workflows-core builds locally * build release in ci * build ext-ecoscope conda dist * lock mode-map builddir * add tests to artifacts * work towards testable build * remove .conda * get namespaces packaged to build correctly on conda-dist * relock * i think this hatch config is finally correct * still broken * namespaces are hard * relock and update ci * fix stray type * oops unsaved files * fix doctest * fix registry test * recompile mode-map * fix testing util test * wow sequential test passes locally in mode-map * up and download release artifacts * maybe fix docs * test more things * try to fix docs again * fix redirect * artifacts WIP * mypy caught an issues * factor requirements into separate module * use py-rattler types migration first commit * get mypy passing for core * i guess we need to do it like this * try to get pixitoml working * ok this works * fix mypy and note issue * manually sync core deps to ext-ecoscope and publish * relock ext-ecoscope * get default pixi toml test artifact tests passing * drop unused (old) dependencies defintions * add deps WIP and workaround rattler bug * fix artifacts test * fix mypy * add requirements section to workflow spec * add label switch to flaky io tests * implement add_dependency function * drop pixitoml default from artifacts, create onthefly in compiler * work on recompiling workflow with generated pixitoml * serialize our channels by name * recompile pixi.toml dynamically * add --lock option to compile * move mapvalues to build dir * remove old artifacts for mapvalues * add testcases doc for mapvalues * fix mypy * enable mapvalues test in ci * reformat testcases for mapvalues * compile build dir for patrol events * alternate chdir impl for py310 * patrol events test cases * enable patrol events e2e test * migrate subject tracking * patrol workflow build dir * enable subject tracking in ci * migrate patrol workflow and enable in ci * remove unnecessary reference tests * rm last of the old examples artifacts * fix workflow * fix missing quotation mark in testcases * Update .gitignore * Update src/ecoscope-workflows-core/ecoscope_workflows_core/registry.py * remove version checking, will address in #249 * revert readme changes * reset ecoscope-workflows-core README to be equal to main * Remove unused context manager * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update ext-ecoscope README header to reflect current name * remove last of old tests * add pull_request types to examples workflow * comment out custom types * just run CI on all pushes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information