Commit graph

229 commits

Author SHA1 Message Date
Anand Balakrishnan
411b144761
ci(docs): fixed copy arguments for gh-pages 2023-10-06 14:08:13 -07:00
Anand Balakrishnan
1a927f89f5
ci(docs): fixed shell arguments + moved 2023-10-06 14:02:37 -07:00
Anand Balakrishnan
0a2d91fc68
ci(docs): add workflow to publish docs 2023-10-06 13:59:13 -07:00
Anand Balakrishnan
33dbf2c35a
docs: add instructions for PyPI package 2023-10-06 13:58:45 -07:00
Anand Balakrishnan
eb2c32637b
ci: run on tag pushes too [ci skip] 2023-10-06 13:58:24 -07:00
Anand Balakrishnan
7d598718a3
ci: add a manually triggered workflow for releasing the project to pypi proper [skip ci] 2023-10-06 13:27:00 -07:00
Anand Balakrishnan
2e79054d54
ci: use maturin for testpypi releases 2023-10-06 13:08:50 -07:00
Anand Balakrishnan
96b5dfae1f
add ruff and flake8 to conda environment spec 2023-10-06 13:08:26 -07:00
Anand Balakrishnan
97ca1e3e70
ci: add rustfmt to linting CI 2023-10-06 12:57:26 -07:00
Anand Balakrishnan
a4ed00b02d
ci: make the CI simpler for both, release and tests 2023-10-06 12:53:28 -07:00
Anand Balakrishnan
22adbdf1a1
ci: use trusted publisher config for release
See: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
2023-10-06 12:13:35 -07:00
Anand Balakrishnan
3fc4486883
docs: add metadata to Cargo.toml files [skip ci] 2023-10-06 11:44:11 -07:00
Anand Balakrishnan
30819b6b9c
ci: run release in a specific environment [skip ci] 2023-10-06 11:27:39 -07:00
Anand Balakrishnan
5703da6ace
ci: let the workflow be used for dev branch 2023-10-06 01:17:19 -07:00
Anand Balakrishnan
fa3345846b
ci: set the test pypi url [skip ci] 2023-10-06 01:04:12 -07:00
Anand Balakrishnan
16ec443758
ci: only 1 version needed for release [skip ci] 2023-10-06 00:54:33 -07:00
Anand Balakrishnan
1ea0faf327
Release 0.1.1
argus-core@0.1.1
argus-parser@0.1.1
pyargus@0.1.1

Generated by cargo-workspaces
2023-10-06 00:38:25 -07:00
Anand Balakrishnan
53e0710558
fix(parser): get rid of redundant clones on &str 2023-10-06 00:27:04 -07:00
Anand Balakrishnan
81acf06e69
refactor!(pyargus): rename python package to minimize ambiguity in PyPI
skip-checks: true
2023-10-06 00:17:16 -07:00
Anand Balakrishnan
017cecc8a4
ci: add a manually triggered workflow for releasing the project to test.pypi [skip ci] 2023-10-06 00:14:22 -07:00
Anand Balakrishnan
c9c3778ce2
ci: try to generate lockfile before caching 2023-10-05 23:43:06 -07:00
Anand Balakrishnan
29040fd0e6
fix(ci): don't have to specify interpreter for maturin develop 2023-10-05 23:34:11 -07:00
Anand Balakrishnan
22479aa7af
fix(ci): don't let cargo run test for pyargus 2023-10-05 23:29:27 -07:00
Anand Balakrishnan
ca96c75af8
fix(ci): remember that the CI script is only for testing 2023-10-05 23:23:02 -07:00
Anand Balakrishnan
db24e3c172
ci: try using --no-index for pip 2023-10-05 22:50:49 -07:00
Anand Balakrishnan
cc74411d95
fix(ci): try to install for pytest from wheel 2023-10-05 17:07:34 -07:00
Anand Balakrishnan
1a4d8cc845
fix(ci): cache key should be the singla Cargo.lock 2023-10-05 16:53:54 -07:00
Anand Balakrishnan
c8b3a08619
ci: activate mamba environments for pytest 2023-10-05 16:51:01 -07:00
Anand Balakrishnan
4c7e3a0fb5
ci: add a testing CI 2023-10-05 16:38:43 -07:00
Anand Balakrishnan
ca68d32a4b
cleanup environment files 2023-10-05 16:38:29 -07:00
Anand Balakrishnan
69c6c6abc2
docs(pyargus): create initial documentation for pyargus 2023-10-05 15:42:57 -07:00
Anand Balakrishnan
d39e3d3e12
feat!(pyargus): simplify the API surface
- Get rid of helper functions. It is not that much more verbose to
  create signals with `argus.FloatSignal(...)` than
  `argus.signal(..., dtype=argus.dtype.float64`).

- Make the package hierarchy flat: everything is under `argus`. If this
  is an issue, it can be changed in the future.

- Add type hints for interval types.
2023-10-05 15:28:59 -07:00
Anand Balakrishnan
3714cd5936
begin documentation 2023-10-05 08:41:41 -07:00
Anand Balakrishnan
4ddca1f177 fix(ci): correctly download wheel artifacts 2023-10-04 17:38:10 -07:00
Anand Balakrishnan
5f07fca816 ci: macos and windows can't handle install from wheel... 2023-10-04 17:12:25 -07:00
Anand Balakrishnan
71def21d02 ci: don't run tests for aarch64 (for now) 2023-10-04 17:06:11 -07:00
Anand Balakrishnan
fae3021f6b ci: add permission to upload wheels to release 2023-10-04 16:58:10 -07:00
Anand Balakrishnan
24f7583f88 fix(pyargus): add typing-extensions as dependency 2023-10-04 16:51:36 -07:00
Anand Balakrishnan
10e09c0a12 fix(ci): try to make pytest actually detect argus 2023-10-04 16:48:26 -07:00
Anand Balakrishnan
ec0224d511 fix(ci): actually install the test dependencies 2023-10-04 16:37:03 -07:00
Anand Balakrishnan
1fb8459b3b fix(ci): install test dependencies 2023-10-04 16:30:49 -07:00
Anand Balakrishnan
2c234a929a ci: add initial CI 2023-10-04 16:21:07 -07:00
Anand Balakrishnan
c616d201aa feat: TRUE and FALSE are keywords in parser 2023-10-04 15:54:20 -07:00
Anand Balakrishnan
e3b020c6ed tests: better cargo test arguments 2023-10-04 15:51:35 -07:00
Anand Balakrishnan
91441d4d3f fix!: add explicit interpolation method for more functions 2023-10-04 15:50:25 -07:00
Anand Balakrishnan
f97d593926 feat: expose parser in argus 2023-10-04 14:46:32 -07:00
Anand Balakrishnan
50d5a0a78a feat!: make interpolation method explicit
All methods that need to perform interpolation of some sort need an
explicit interpolation method. In Rust, this manifests as a generic
parameter, while in Python, this is a string parameter.
2023-10-04 14:42:51 -07:00
Anand Balakrishnan
e2cff9449e feat: expose parser in argus 2023-10-04 14:37:51 -07:00
Anand Balakrishnan
1b3512543e fix(argus-parser): correctly type variables under relationals
Also accept unicode symbols for temporal operations
2023-10-04 14:36:47 -07:00
Anand Balakrishnan
f6b26b61ab chore: clean up unnecessary numpy dependency (and better pre-commit) 2023-10-04 14:33:17 -07:00