Pyup cant find a requirements.txt file when there are brackets in the name
See original GitHub issueProblem
Pyup tells me in the dashboard that it can’t find my requirements.txt
file.
Context
I run an open source project called django-cookiecutter-rest. It’s a project template for Django apps. Because of that, it uses bracketed template variables in the project’s folder names. Pyupbot is unable to find my requirements.txt file at: {{cookiecutter.github_repository_name}}/requirements.txt
.
Here’s my .pyup.yml config:
update: all
pin: True
branch: master
requirements:
- /{/{cookiecutter.github_repository_name/}/}/requirements.txt
schedule: "every day"
search: True
label_prs: update
assignees:
- agconti
I’ve tried a few ways to specify the file but none have worked yet:
- /{/{cookiecutter.github_repository_name/}/}/requirements.txt
- “{{cookiecutter.github_repository_name}}/requirements.txt”
- {{cookiecutter.github_repository_name}}/requirements.txt
Thanks for your help!
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
setup.py doesn't see my requirements.txt - Stack Overflow
Can you share the folder structure? the exception is saying it can't find the requirements.txt file, is it on the same directory as...
Read more >Producing constraints.txt files · Issue #1300 · jazzband/pip-tools
pip -compile app1 app2 app3 --output-file constraints.txt # build ... we found is to use sed to search for brackets and remove them:....
Read more >Requirements File Format - pip documentation v22.3.1
You have to use the POSIX format for variable names including brackets around the uppercase name as shown in this example: ${API_TOKEN} ....
Read more >music21 Changelog - pyup.io
MusicXML and MIDI files that give a part name like "flute" but no instrument or program code will get a Flute object in...
Read more >pipenv Documentation
define dependencies, see Pipfile vs setup.py. ... They work together. • Managing a requirements.txt file can be problematic, so Pipenv uses ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rafaelpivato this fixed my issue. Thank you!
@agconti a deployment was made to https://pyup.io/ using latest pyupio/pyup version. Such latest version includes a fix handling filenames with stuff like
{
. Before moving forward looking further deep into the code, I would like to make sure that was not all you needed to fix your issue here.Can you share a feedback about this issue again with this latest updates?