# OEP-18 updates: Tighter rules around URLs for Python dependencies

**URL:** <https://discuss.openedx.org/t/oep-18-updates-tighter-rules-around-urls-for-python-dependencies/9432>\
**Category:** Architecture\
**Created:** [February 24, 2023, 12:00pm UTC](https://discuss.openedx.org/t/oep-18-updates-tighter-rules-around-urls-for-python-dependencies/9432 "2023-02-24T12:00:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmccormick](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/kmccormick/32/8982_2.png) [@kmccormick](https://discuss.openedx.org/u/kmccormick)\
**Post date:** [February 24, 2023, 12:00pm UTC](https://discuss.openedx.org/t/oep-18-updates-tighter-rules-around-urls-for-python-dependencies/9432/1 "2023-02-24T12:00:52Z")

</div>

I’m proposing some updates to [OEP-18 (Python Dependency Management)](https://docs.openedx.org/projects/openedx-proposals/en/latest/best-practices/oep-0018-bp-python-dependencies.html), specifically around [dependencies that use URLs instead of PyPI](https://docs.openedx.org/projects/openedx-proposals/en/latest/best-practices/oep-0018-bp-python-dependencies.html#installing-dependencies-from-urls). The main change is asking that each URL-based dependency be accompanied with a link to a clean-up issue.

I don’t think the updates are big enough to warrant an arbiter, but if you disagree, let me know and I can find one 🙂.

Please leave your comments and concerns on the PR. If there are no blocking concerns by end-of-day **Friday March 10th** then I will merge.

FYIs: @jmbowman (original author) and @cpennington (original arbiter 😉)

> <https://github.com/openedx/open-edx-proposals/pull/450>
>
> \## Description
> 
> Nine different URL-specified Python dependencies had accumulat…ed in edx-platform, noticably increasing the amount time it took to install edx-platform requirements.
> 
> After many developer hours of work, we are nearly finished converting them to PyPI-hosted depencencies:
> https://github.com/openedx/wg-developer-experience/issues/153
> 
> We make these OEP updates in order to clarify that URL dependencies should not be added except in the two specified circumstances and that the follow-up work of moving them to PyPI must be recorded.
> 
> \## Other info
> 
> Direct link to rendered RST: https://github.com/kdmccormick/open-edx-proposals/blob/kdmccormick/url-dependency-clarifications/oeps/best-practices/oep-0018-bp-python-dependencies.rst
> 
> edx-platform PR to update CODEOWNERS and the github.in comment: https://github.com/openedx/edx-platform/pull/31824
> 
> \## Comment Period
> 
> Please raise any concerns by the end of \*\*Friday, March 3rd\*\*.

---

<div class="post-metadata">

**Author:** ![Tim\_McCormack](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/tim_mccormack/32/9733_2.png) [@Tim\_McCormack](https://discuss.openedx.org/u/Tim_McCormack)\
**Post date:** [February 27, 2023, 3:08am UTC](https://discuss.openedx.org/t/oep-18-updates-tighter-rules-around-urls-for-python-dependencies/9432/2 "2023-02-27T03:08:54Z")

</div>

This is great. There are other changes I might like to see (such as using a commit hash rather than a branch or tag) but this is a distinct, separable improvement and I wouldn’t want to delay it.
