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

Upgrade Node 15.x to 18.x #238

Conversation

Zburatorul
Copy link
Collaborator

@Zburatorul Zburatorul commented Sep 17, 2024

Builds started failing for several reasons including Github action version deprecation, changes to mypy, and beancount 3 getting released.
These are the minimal changes I identified for the workflow to succeed.

Things that will need more work:
We need to decide if we want to take beancount 3 as a dependency or stick with <3. If we move to 3 we need to move from beancount.ingest to beangulp. An additional issue popped when I tried that which is that journal_editor_test.py was failing due to the __automatic__ tag. Unclear what that has to do with beancount 3 but it is so.

There are some other mypy failures I had to suppress related to abstract classes. Threads online provide mixed advice and it seems the consensus is that it may be a mypy issue.

@Zburatorul Zburatorul force-pushed the Zburatorul-node-ver-upgrade branch 5 times, most recently from ce678f4 to 1d5602f Compare September 18, 2024 05:27
* upload-artifact v2
* download-artifact v4.1.7
* upload-artifact v4
* cache v4
* setup-node v4
* setup-python v5

Other changes:
* limit beancount version to below 3
* type hinting to pass pytest
@Zburatorul Zburatorul assigned jbms and unassigned jbms Sep 18, 2024
@jbms
Copy link
Owner

jbms commented Sep 20, 2024

Thanks for these fixes. It would be nice to support beancount v3 but that could be done separately.

For __automatic__ we will need to see what it means but probably it will just need to be excluded.

@Zburatorul Zburatorul merged commit 31867ee into dependabot/github_actions/dot-github/workflows/actions/download-artifact-4.1.7 Sep 20, 2024
20 checks passed
Zburatorul added a commit that referenced this pull request Sep 21, 2024
…237)

* Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@v2...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Upgrade the following action versions: (#238)

* upload-artifact v2
* download-artifact v4.1.7
* upload-artifact v4
* cache v4
* setup-node v4
* setup-python v5

Other changes:
* limit beancount version to below 3
* type hinting to pass pytest

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eugeniu Plamadeala <[email protected]>
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.

2 participants