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

Updates python to 3.12 #329

Merged
merged 3 commits into from
Sep 16, 2024
Merged

Updates python to 3.12 #329

merged 3 commits into from
Sep 16, 2024

Conversation

smithcommajoseph
Copy link
Collaborator

Bumps all packages/deps
Removes pylama (no longer maintained)

Bumps all packages/deps
Removes pylama (no longer maintained)
@smithcommajoseph smithcommajoseph linked an issue Aug 28, 2024 that may be closed by this pull request
@haneslinger
Copy link
Collaborator

Removes pylama (no longer maintained)

😢 do we want to add in the things pylama used to package? or a different code auditor?

@haneslinger
Copy link
Collaborator

Removes pylama (no longer maintained)
Also, I see it hasn't been touched in two years, but did it announce its wintering? did they just ghost? I can find anything

@smithcommajoseph
Copy link
Collaborator Author

Looks like pylama has been ghosted. There's even an outstanding PR that fixes the python 3.12 issues here, but no love from the maintainer.

As for pylama replacement, I don't fully understand all the things it did, so I'm ill equipped to recommend a replacement. Do you have preferences? I dig into this in the coming days

Copy link
Collaborator

@haneslinger haneslinger left a comment

Choose a reason for hiding this comment

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

Looking good, thank you.

Comment on lines -12 to -17
- repo: https://github.com/gvanderest/pylama-pre-commit
rev: 0.1.2
hooks:
- id: pylama
additional_dependencies:
- pyflakes==2.4.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

why no pre-commit

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

pulled the pylama pre-commit due to the pylama errors

@@ -9,32 +9,32 @@ authors = ["Your Name <you@example.com>"]
repository = "https://github.com/NREL/Wattile"
Copy link
Collaborator

Choose a reason for hiding this comment

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

noice

@smithcommajoseph smithcommajoseph merged commit 8cfaa8c into develop Sep 16, 2024
2 checks passed
@smithcommajoseph smithcommajoseph deleted the update-python-and-deps branch September 16, 2024 18:20
haneslinger pushed a commit that referenced this pull request Oct 9, 2024
* Updates python to 3.12

Bumps all packages/deps
Removes pylama (no longer maintained)

* Pins numpy at v1 major release

* Uses tilde versioning over caret (easier to reason about)
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.

Update Python and dependency versions
2 participants