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

Replaces setup.py with pyproject.toml #236

Merged
merged 6 commits into from
Jul 3, 2024
Merged

Replaces setup.py with pyproject.toml #236

merged 6 commits into from
Jul 3, 2024

Conversation

danmilne1
Copy link

No description provided.

Copy link
Collaborator

@rowanhemsi rowanhemsi left a comment

Choose a reason for hiding this comment

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

This looks good to me, happy to approve.
Left one very small question and I think we can probably also remove dataclasses from requirements.txt if we're uping the python version required

pyproject.toml Outdated
Comment on lines 9 to 15
name = "gptables"
authors = [
{name = "ASAP", email = "ASAP@ons.gov.uk"}
]
maintainers = [
{name = "ASAP", email = "ASAP@ons.gov.uk"}
]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you for updating this in line with current policy

Copy link
Collaborator

Choose a reason for hiding this comment

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

Just a thought, should we expand the acronym in the name section?

{name = "ASAP", email = "ASAP@ons.gov.uk"}
]
dynamic = ["version"]
requires-python = '>=3.7'
Copy link
Collaborator

Choose a reason for hiding this comment

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

I agree with this change. There may still be a small number of users on python 3.6 but they can use an earlier version of the package if they can't update their python version

setup.py Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we able to do an editable install without the setup.py file?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Answering my own question - this seems to work

@rowanhemsi rowanhemsi merged commit 3c846b8 into dev Jul 3, 2024
13 checks passed
@rowanhemsi rowanhemsi deleted the pyproject_toml branch July 3, 2024 14:18
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