Skip to content

Dependencies - #147

Merged
AHReccese merged 7 commits into
devfrom
dependencies
Jul 30, 2026
Merged

Dependencies#147
AHReccese merged 7 commits into
devfrom
dependencies

Conversation

@sepandhaghighi

Copy link
Copy Markdown
Member

Reference Issues/PRs

What does this implement/fix? Explain your changes.

  • Dependencies structure modified

Any other comments?

@sepandhaghighi sepandhaghighi self-assigned this Jul 16, 2026
@sepandhaghighi sepandhaghighi added dependencies Pull requests that update a dependency file test labels Jul 16, 2026
@sepandhaghighi sepandhaghighi added this to the reserver v0.9 milestone Jul 16, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@sepandhaghighi
sepandhaghighi requested a review from AHReccese July 16, 2026 22:52
@sepandhaghighi
sepandhaghighi marked this pull request as ready for review July 16, 2026 22:52

@AHReccese AHReccese left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi Sepand @sepandhaghighi, thank you for your efforts.

Plz help me understand the changes better. So previously Dependabot was detecting dev-req & req files and was pushing versions for both == and >= to go higher, which broke our python older versions support.

To address this issue, I see you've done below:

rename dev-req to req-dev and exclude it
remove req.txt and directly put reqs.txt content in install_requires in setup.py and exclude setup.py from dependabot

Some questions here:

  • Why did we rename dev req? we could directly exclude it?
  • why we're hardcoding req into setup.py? we could exclude this one too in the dependabot config?
  • I see you've also dropped distutils (which I understand has been completely removed from python 3.12), but since we're still covering old Python versions, why not have it there for legacy cases?
  • I see req-latest is not used anywhere; what's the purpose of having it? If Dependabot updates it, then our test pipeline doesn't care, and no matter what, it installs the latest available in each env, so it doesn't honor that. Also, if its content is to specify the latest version of packages, this is something that depends on the Python version, so what does it mean?

@sepandhaghighi

Copy link
Copy Markdown
Member Author

Hi Sepand @sepandhaghighi, thank you for your efforts.

Plz help me understand the changes better. So previously Dependabot was detecting dev-req & req files and was pushing versions for both == and >= to go higher, which broke our python older versions support.

To address this issue, I see you've done below:

rename dev-req to req-dev and exclude it remove req.txt and directly put reqs.txt content in install_requires in setup.py and exclude setup.py from dependabot

Some questions here:

  • Why did we rename dev req? we could directly exclude it?
  • why we're hardcoding req into setup.py? we could exclude this one too in the dependabot config?
  • I see you've also dropped distutils (which I understand has been completely removed from python 3.12), but since we're still covering old Python versions, why not have it there for legacy cases?
  • I see req-latest is not used anywhere; what's the purpose of having it? If Dependabot updates it, then our test pipeline doesn't care, and no matter what, it installs the latest available in each env, so it doesn't honor that. Also, if its content is to specify the latest version of packages, this is something that depends on the Python version, so what does it mean?
  1. Just for consistency.
  2. To decouple package dependencies from repository dependencies.
  3. As python setup.py install is completely deprecated, using distutils has no meaning.
  4. The only purpose of requirements-latest is for Dependabot, when Dependabot updates this file, it triggers the CI process, and PyPI installs the most recent version of dependencies compatible with the specific version of Python (We do not consider that the most recent version of each dependency can be installed across all supported versions of Python, it's not within our scope of responsibility)

@sepandhaghighi
sepandhaghighi requested a review from AHReccese July 28, 2026 15:21
@AHReccese
AHReccese merged commit c5ccebf into dev Jul 30, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants