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

Moved the metadata into setup.cfg. #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KOLANICH
Copy link

@KOLANICH KOLANICH commented Jan 2, 2022

Added pyproject.toml.
Version is now fetched and populated automatically from git tags using setuptools_scm.
Metadata stored in source files is fetched using read_version.
Got rid of raw scripts, using console_scripts entry point since now.

@coveralls
Copy link

coveralls commented Jan 2, 2022

Coverage Status

Coverage decreased (-0.1%) to 65.69% when pulling ab4f641 on KOLANICH-libs:setup.cfg into 714df3c on stefankoegl:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-5.5%) to 60.338% when pulling 98155d3 on KOLANICH-libs:setup.cfg into 714df3c on stefankoegl:master.

@stefankoegl
Copy link
Owner

Hi! Thanks for your contribution!

The build fails for Python 2.7, which is still supported by jsonpatch. Can you have a look?

@KOLANICH
Copy link
Author

KOLANICH commented Jan 16, 2022

Should we just drop 2.7? In my own projects I have never supported python 2. Given that I am in python since 2013 ... and given that 2 has been dropped by PSF, I guess it may make sense to drop it too.

Added `pyproject.toml`.
Version is now fetched and populated automatically from git tags using setuptools_scm.
Metadata stored in source files is fetched using `read_version`.
Got rid of raw scripts, using `console_scripts` entry point since now.
Disabled CI for python `2.7` because of `File "tests.py", line 1069, in <module> m = __import__(module, fromlist=[module]) TypeError: Item in "from list'' must be str, not unicode`
@stefankoegl
Copy link
Owner

I've opened the discussion about dropping Python 2.7 support at #140.

@cardoso-neto
Copy link

cardoso-neto commented Aug 6, 2022

I was going to make these same changes. Almost exactly like you made them.

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.

None yet

4 participants