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

Fix for requirements.txt using both --index-url and --find-links #2959

Merged
merged 1 commit into from Mar 26, 2023

Conversation

sk1p
Copy link
Contributor

@sk1p sk1p commented Mar 26, 2023

Without the fix, installation would fail with:

AttributeError: 'Namespace' object has no attribute 'find_links'

when having both --index-url (or --extra-index-url) and --find-links in a requirements.txt file. Order could also be important, I didn't check.

Thanks for contribution

Please, make sure you address all the checklists (for details on how see
development documentation)!

  • ran the linter to address style issues (tox -e fix)
  • wrote descriptive pull request text
  • ensured there are test(s) validating the fix
  • added news fragment in docs/changelog folder
  • updated/extended the documentation

Without the fix, installation would fail with:

    AttributeError: 'Namespace' object has no attribute 'find_links'
@sk1p sk1p force-pushed the bugfix-find-links-index-url branch from d523236 to 46ad8f1 Compare March 26, 2023 13:46
@gaborbernat gaborbernat merged commit 0e3776e into tox-dev:main Mar 26, 2023
24 checks passed
@sk1p sk1p deleted the bugfix-find-links-index-url branch March 26, 2023 14:52
descope bot added a commit to descope/django-descope that referenced this pull request Apr 9, 2023
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [tox](https://togithub.com/tox-dev/tox)
([changelog](https://tox.wiki/en/latest/changelog.html)) | dev | patch |
`4.4.7` -> `4.4.8` | `4.4.11` (+2) |

---

### Release Notes

<details>
<summary>tox-dev/tox</summary>

### [`v4.4.8`](https://togithub.com/tox-dev/tox/releases/tag/4.4.8)

[Compare Source](https://togithub.com/tox-dev/tox/compare/4.4.7...4.4.8)

#### What's Changed

- Include `tox.ini` in sdist to fix tests by
[@&#8203;mgorny](https://togithub.com/mgorny) in
[tox-dev/tox#2939
- Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.7.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[tox-dev/tox#2940
- docs: remove (dynamic) years from copyright by
[@&#8203;paravoid](https://togithub.com/paravoid) in
[tox-dev/tox#2941
- Bump pypa/gh-action-pypi-publish from 1.7.1 to 1.8.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[tox-dev/tox#2950
- Update documentation regarding `homedir` variable (upgrade to tox 4)
by [@&#8203;aelray](https://togithub.com/aelray) in
[tox-dev/tox#2955
- Bump pypa/gh-action-pypi-publish from 1.8.1 to 1.8.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[tox-dev/tox#2956
- Bump deps and tools by
[@&#8203;gaborbernat](https://togithub.com/gaborbernat) in
[tox-dev/tox#2954
- docs: s/master/main/g in contributing docs by
[@&#8203;sk1p](https://togithub.com/sk1p) in
[tox-dev/tox#2960
- Fix for requirements.txt using both --index-url and --find-links by
[@&#8203;sk1p](https://togithub.com/sk1p) in
[tox-dev/tox#2959

#### New Contributors

- [@&#8203;aelray](https://togithub.com/aelray) made their first
contribution in
[tox-dev/tox#2955
- [@&#8203;sk1p](https://togithub.com/sk1p) made their first
contribution in
[tox-dev/tox#2960

**Full Changelog**: tox-dev/tox@4.4.7...4.4.8

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDEuMCIsInVwZGF0ZWRJblZlciI6IjM0LjEwMS4wIn0=-->

Co-authored-by: descope[bot] <descope[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants