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

Update dep anki ankirspy to 2.1.36 and fix the requirments file create #47

Merged
merged 1 commit into from
Dec 6, 2020

Conversation

cecini
Copy link
Contributor

@cecini cecini commented Nov 3, 2020

fix the requirements file create:
Add comment header to requirements.txt #41

update anki-sync-server version to 2.2.0 in pyproject.toml

update dep anki ankirspy to 2.1.36

@cecini cecini changed the title update dep anki ankirspy to 2.1.36 and fix the requirments file create Update dep anki ankirspy to 2.1.36 and fix the requirments file create Nov 3, 2020
Copy link
Member

@VikashKothary VikashKothary left a comment

Choose a reason for hiding this comment

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

This is great. Just a minor change to the lock script and it'll be good to go.

pyproject.toml Show resolved Hide resolved
scripts/lock.sh Outdated Show resolved Hide resolved
fix the requirements file create
@VikashKothary VikashKothary self-requested a review December 6, 2020 16:57
@VikashKothary VikashKothary merged commit f8a1fb0 into ankicommunity:develop Dec 6, 2020
Comment on lines +5 to +6
echo "THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements.txt
echo "THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements-dev.txt
Copy link
Contributor

@upsuper upsuper Jan 1, 2021

Choose a reason for hiding this comment

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

Hey. I'm not sure what should I expect, but this doesn't seem to work for me with pip 20.0.2 on Python 3.8. When I run pip3 install -r src/requirements.txt it prints:

ERROR: Invalid requirement: 'THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!' (from line 1 of src/requirements.txt)

I suppose this line should be commented like

echo "# THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements.txt
echo "# THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements-dev.txt

instead?

Copy link
Member

Choose a reason for hiding this comment

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

Hi @upsuper,

That's a very good point. Those lines should indeed be comments.

Could you possibly create a PR for this fix? If not, I'll try to find some time this weekend to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants