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

refactor: drop pyyaml-include dependency and reimplement relevant features #1541

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

sisp
Copy link
Member

@sisp sisp commented Feb 28, 2024

I've dropped the pyyaml-include dependency and reimplemented the features we use in Copier, which are just a subset of what pyyaml-include offers.

Resolves #1398.

@sisp sisp force-pushed the refactor/drop-pyyaml-include branch from 423f307 to 6c3553c Compare February 28, 2024 14:14
Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.36%. Comparing base (14865bf) to head (15b4fcf).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1541      +/-   ##
==========================================
- Coverage   97.48%   97.36%   -0.13%     
==========================================
  Files          48       48              
  Lines        4568     4585      +17     
==========================================
+ Hits         4453     4464      +11     
- Misses        115      121       +6     
Flag Coverage Δ
unittests 97.36% <100.00%> (-0.13%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sisp sisp force-pushed the refactor/drop-pyyaml-include branch from 6c3553c to 2eaaad2 Compare February 28, 2024 14:18
Copy link
Contributor

@pawamoy pawamoy left a comment

Choose a reason for hiding this comment

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

Awesome!

@sisp
Copy link
Member Author

sisp commented Feb 28, 2024

Let me add some tests to get rid of the two ❌, they don't look good. 😆

@sisp sisp force-pushed the refactor/drop-pyyaml-include branch 2 times, most recently from cd2d23d to 801d547 Compare February 28, 2024 15:27
@sisp sisp force-pushed the refactor/drop-pyyaml-include branch from 801d547 to ba684d0 Compare February 28, 2024 15:30
@sisp
Copy link
Member Author

sisp commented Feb 28, 2024

@pawamoy Sorry about the frequent force-pushes. I couldn't decide on test case names ... 😆

@sisp sisp force-pushed the refactor/drop-pyyaml-include branch from ba684d0 to 15b4fcf Compare February 28, 2024 15:52
@sisp
Copy link
Member Author

sisp commented Feb 28, 2024

Testing pays off ... ☝️ 😆

@sisp
Copy link
Member Author

sisp commented Feb 28, 2024

I think we're good now. Merging ... 🚀

@sisp sisp merged commit 037d7f0 into copier-org:master Feb 28, 2024
20 of 21 checks passed
@sisp sisp deleted the refactor/drop-pyyaml-include branch February 28, 2024 16: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.

pyyaml-include is GPL3, doesn't that poison your MIT project?
2 participants