Skip to content

MNT drop python=3.7 support#252

Merged
BenjaminBossan merged 15 commits intoskops-dev:mainfrom
adrinjalali:drop-311
Dec 14, 2022
Merged

MNT drop python=3.7 support#252
BenjaminBossan merged 15 commits intoskops-dev:mainfrom
adrinjalali:drop-311

Conversation

@adrinjalali
Copy link
Copy Markdown
Member

Same as #246, fixes #245 , but doesn't add 3.11. #246 will add that.

Comment thread pyproject.toml
[tool.black]
line-length = 88
target_version = ['py37', 'py38', 'py39', 'py310']
target_version = ['py38', 'py39', 'py310', 'py311']
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
target_version = ['py38', 'py39', 'py310', 'py311']
target_version = ['py38', 'py39', 'py310']

Not sure if it hurts to have it there. If not, just ignore.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we do code in py311, so I think this is better to stay.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It's unclear to me what this option really does. Is it only relevant when a new Python version changes syntax? Anyway, I'm fine with keeping it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

As in, the output should be valid in all these python versions, I think.

Copy link
Copy Markdown
Collaborator

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

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

Can we not get rid of fixes.py completely now?

Comment thread skops/utils/fixes.py
@adrinjalali
Copy link
Copy Markdown
Member Author

CI is green @BenjaminBossan

Copy link
Copy Markdown
Collaborator

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

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

Fantastic

@BenjaminBossan BenjaminBossan merged commit d8b821c into skops-dev:main Dec 14, 2022
@adrinjalali adrinjalali deleted the drop-311 branch December 14, 2022 14:51
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.

Drop python=3.7 support

2 participants