Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include optimization parameter api layer #89

Conversation

glatterf42
Copy link
Member

This PR mainly enables the tests for the api layer of optimization.Parameters. The actual code was already mostly pushed with #79, I think. So it mainly makes sure that the tests are passing.

When I tried running the tests locally, I found that my venv was broken. While trying to fix it, I updated a few dependencies (before realizing I had a lingering dask installation causing the issue). This includes a bump of httpx from 0.26 to 0.27, introducing the DeprecationWarning mentioned in the first point of #68. Curiously, this was fixed with starlette v37, but back then, fastapi pinned starlette to below that. By now, they removed this pin, so I locally have:

starlette                     0.37.2
fastapi                       0.111.0
fastapi-cli                   0.0.2
httpx                         0.27.0

Unfortunately, even with that, I receive the DeprecationWarning. I'm not entirely sure why, though. How crucial is it to get rid of it immediately?

@glatterf42 glatterf42 added the enhancement New feature or request label May 7, 2024
@glatterf42 glatterf42 self-assigned this May 7, 2024
@glatterf42 glatterf42 force-pushed the include/optimization-parameter-list-tabulate branch from d601ef1 to d3f391c Compare June 27, 2024 12:41

Verified

This commit was signed with the committer’s verified signature.
glatterf42 Fridolin Glatter

Verified

This commit was signed with the committer’s verified signature.
glatterf42 Fridolin Glatter
* Covers:
* run__id, data, name, uniqueness of name together with run__id
* Adapts tests since default order of columns changes

Verified

This commit was signed with the committer’s verified signature.
glatterf42 Fridolin Glatter

Verified

This commit was signed with the committer’s verified signature.
glatterf42 Fridolin Glatter

Verified

This commit was signed with the committer’s verified signature.
glatterf42 Fridolin Glatter

Verified

This commit was signed with the committer’s verified signature.
glatterf42 Fridolin Glatter
@glatterf42 glatterf42 force-pushed the include/optimization-parameter-api-layer branch from 2181e57 to 66b0602 Compare June 27, 2024 12:54

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
* Enable parameter core layer and test it
* Fix things after rebase
* Ensure all intended changes survive the rebase
* Adapt data validation function for parameters
* Allow tests to pass again
@glatterf42 glatterf42 merged commit 0e53b3d into include/optimization-parameter-list-tabulate Jun 28, 2024
9 checks passed
@glatterf42 glatterf42 deleted the include/optimization-parameter-api-layer branch June 28, 2024 07:43
glatterf42 added a commit that referenced this pull request Jun 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
* Enable remaining parameter tests
* Include optimization parameter api layer (#89)
* Bump several dependency versions
* Let api/column handle both tables and parameters
* Make api-layer tests pass
* Include optimization parameter core layer (#90)
* Enable parameter core layer and test it
* Fix things after rebase
* Ensure all intended changes survive the rebase
* Adapt data validation function for parameters
* Allow tests to pass again
glatterf42 added a commit that referenced this pull request Jun 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
* Make Column generic enough for multiple parents
* Introduce optimization.Parameter
* Add tests for add_data
* Enable remaining parameter tests (#86)
* Enable remaining parameter tests
* Include optimization parameter api layer (#89)
* Bump several dependency versions
* Let api/column handle both tables and parameters
* Make api-layer tests pass
* Include optimization parameter core layer (#90)
* Enable parameter core layer and test it
* Fix things after rebase
* Ensure all intended changes survive the rebase
* Adapt data validation function for parameters
* Allow tests to pass again
glatterf42 added a commit that referenced this pull request Jul 10, 2024

Verified

This commit was signed with the committer’s verified signature.
glatterf42 Fridolin Glatter
* Make Column generic enough for multiple parents
* Introduce optimization.Parameter
* Add tests for add_data
* Enable remaining parameter tests (#86)
* Enable remaining parameter tests
* Include optimization parameter api layer (#89)
* Bump several dependency versions
* Let api/column handle both tables and parameters
* Make api-layer tests pass
* Include optimization parameter core layer (#90)
* Enable parameter core layer and test it
* Fix things after rebase
* Ensure all intended changes survive the rebase
* Adapt data validation function for parameters
* Allow tests to pass again
glatterf42 added a commit that referenced this pull request Aug 22, 2024

Verified

This commit was signed with the committer’s verified signature.
glatterf42 Fridolin Glatter
* Make Column generic enough for multiple parents
* Introduce optimization.Parameter
* Add tests for add_data
* Enable remaining parameter tests (#86)
* Enable remaining parameter tests
* Include optimization parameter api layer (#89)
* Bump several dependency versions
* Let api/column handle both tables and parameters
* Make api-layer tests pass
* Include optimization parameter core layer (#90)
* Enable parameter core layer and test it
* Fix things after rebase
* Ensure all intended changes survive the rebase
* Adapt data validation function for parameters
* Allow tests to pass again
glatterf42 added a commit that referenced this pull request Sep 30, 2024

Verified

This commit was signed with the committer’s verified signature.
glatterf42 Fridolin Glatter
* Make Column generic enough for multiple parents
* Introduce optimization.Parameter
* Add tests for add_data
* Enable remaining parameter tests (#86)
* Enable remaining parameter tests
* Include optimization parameter api layer (#89)
* Bump several dependency versions
* Let api/column handle both tables and parameters
* Make api-layer tests pass
* Include optimization parameter core layer (#90)
* Enable parameter core layer and test it
* Fix things after rebase
* Ensure all intended changes survive the rebase
* Adapt data validation function for parameters
* Allow tests to pass again
glatterf42 added a commit that referenced this pull request Oct 1, 2024

Verified

This commit was signed with the committer’s verified signature.
glatterf42 Fridolin Glatter
* Make Column generic enough for multiple parents
* Introduce optimization.Parameter
* Add tests for add_data
* Enable remaining parameter tests (#86)
* Enable remaining parameter tests
* Include optimization parameter api layer (#89)
* Bump several dependency versions
* Let api/column handle both tables and parameters
* Make api-layer tests pass
* Include optimization parameter core layer (#90)
* Enable parameter core layer and test it
* Fix things after rebase
* Ensure all intended changes survive the rebase
* Adapt data validation function for parameters
* Allow tests to pass again
glatterf42 added a commit that referenced this pull request Oct 3, 2024

Verified

This commit was signed with the committer’s verified signature.
glatterf42 Fridolin Glatter
* Make Column generic enough for multiple parents
* Introduce optimization.Parameter
* Add tests for add_data
* Enable remaining parameter tests (#86)
* Enable remaining parameter tests
* Include optimization parameter api layer (#89)
* Bump several dependency versions
* Let api/column handle both tables and parameters
* Make api-layer tests pass
* Include optimization parameter core layer (#90)
* Enable parameter core layer and test it
* Fix things after rebase
* Ensure all intended changes survive the rebase
* Adapt data validation function for parameters
* Allow tests to pass again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant