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

Adaptation to blueprint + Update to Python 3.10 #27

Merged
merged 28 commits into from
Oct 20, 2023
Merged

Conversation

Karko93
Copy link
Contributor

@Karko93 Karko93 commented Oct 5, 2023

  • Embedded Python blueprint into pyflexplot
  • Updated Readme
  • Updated to Python 3.10.12
  • Updated reference material for the slow tests

pirmink and others added 26 commits February 23, 2023 16:19
Note: environment.yml not yet updated, linter configs not yet merged.
…eformatted README.meteoswiss from rst to md format.
Updated pyflexplot to Python 3.10.12
@clairemerker
Copy link

The pinned installation is not working for me. I tried this on balfrin tools/setup_env.sh -m
and got this error:

Could not solve for environment specs
Encountered problems while solving:
  - package libsqlite-3.43.0-h2797004_0 requires libzlib >=1.2.13,<1.3.0a0, but none of the providers can be installed

The environment can't be solved, aborting the operation

Copy link

@clairemerker clairemerker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed a few things related to the blueprint update, but it is probably not an extensive review. I hope it helps nonetheless!
Here are a few addtional general comments:

  • As mentioned, the pinned installation fails. Is this known behaviour and will be fixed later?
  • The unpinned installation worked, and the tests are all passing (with editable and non-editable installation)!
  • The pre-commit hooks fail. You might want to fix that before merging the PR.

environment.yml Outdated Show resolved Hide resolved

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this script needed for? I can't find anything about it in the README.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just discovered this as well.
This tool requires config files in .toml format to define your output. There are also a lot of tests implemented and therefore, config files defines. This script prints a list of all .toml files within the src folder in order to find them faster I guess?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall I just keep it?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you as a developer find it useful, then keep it of course.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But maybe document it somewhere

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.meteoswiss.md Outdated Show resolved Hide resolved
@Karko93
Copy link
Contributor Author

Karko93 commented Oct 13, 2023

Regarding pre-commit hooks and pinned environment:
There is another PR in the pipeline in which a new feature was implemented.
On this particular branch I started to work on the pre-commit errors and the pinned environment is working and tested there.
I'm awaiting customers approval right now and then I'm going to make the pull request which will resolve these issues.

@Karko93 Karko93 merged commit c475c9d into main Oct 20, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants