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

Setup upgrade #2

Merged
merged 48 commits into from
Mar 14, 2024
Merged

Setup upgrade #2

merged 48 commits into from
Mar 14, 2024

Conversation

yafshar
Copy link
Member

@yafshar yafshar commented Mar 14, 2024

This PR includes,

  • Packaging
  • Python version >= 3.8. We officially support and test Python version >= 3.8, although there should be no issue using lower Python version of 3.7.
  • Upgrade the interface
    • Update the load & loads interfaces and remove unused argument parse_constant
    • Update the loads interface to accept a Decoder object. The object can be built with strict as False kim_edn.KIMEDNDecoder(strict=False)
    • Update the kim_edn.tool interface
  • Coverage
    • Remove appveyor support. Now, GitHub action will cover Linux, Macs, and Windows
    • Add extra tests to cover the corner cases. The coverage increased from 96% -> 98.1%
    • Add test_tool to cover kim_edn.tool
  • Update the README with mamba installation instruction

- Upgrade the setuptools backend
- Remove tests from the distribution
- Make kim_edn.tool read infile before writing to outfile so that
  `python -m kim_edn.tool foo.edn foo.edn` doesn't result in an
   empty foo.edn.
- Open and close files manually. It prevents from leaking files,
  preliminary creation of output files, and accidental closing of
  stdin and stdout.
@yafshar yafshar added enhancement New feature or request issue Good for newcomers labels Mar 14, 2024
Copy link

codecov bot commented Mar 14, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@yafshar yafshar self-assigned this Mar 14, 2024
@yafshar yafshar marked this pull request as ready for review March 14, 2024 13:45
@yafshar yafshar merged commit 7c6c964 into master Mar 14, 2024
16 checks passed
@yafshar yafshar deleted the setup-upgrade branch March 14, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant