Skip to content

Conversation

@solvingj
Copy link

@solvingj solvingj commented Feb 5, 2025

The ability to download dependencies from private server from public internet is a key enterprise feature:

fixes #7

The ability to override ./configure flags already existed for cpython, this extends it to the deps.

fixes #57

This was needed in our case to add no-dso flag to make openssl statically compile on linux-aarch64.

@solvingj solvingj force-pushed the solvingj/add_url_config branch from 591ca82 to 3defeba Compare February 5, 2025 05:39
- Normalize c_configure_args functions
- Add more extensive comments to root yml file for posterity
@property
def url(self):
return f"https://ftp.osuosl.org/pub/blfs/conglomeration/db/db-{self.version}.tar.gz"
return self.cfg_url(self.version) or f"https://ftp.osuosl.org/pub/blfs/conglomeration/db/db-{self.version}.tar.gz"
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this, it's a nice step, we could configure all these urls in the default built-in config (user config naturally overrides it).

if PPG.config.get_value("cpython-use-github"):
return f"https://github.com/python/cpython/archive/refs/tags/v{self.version}.tar.gz"

if cfg_url := self.cfg_url(self.version):
Copy link
Contributor

Choose a reason for hiding this comment

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

We need py3.8+ for :=, we need to adapt python_requires to reflect this in setup.py, and remove the legacy tests, ie the test-eol: section from .github/workflows/tests.yml

@zsimic
Copy link
Contributor

zsimic commented Feb 14, 2025

Thank you! This is a great addition!

@zsimic zsimic merged commit 7f4105b into codrsquad:main Feb 14, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenSSL provides required ssl module APIs... no Request: Add additional security and other enterprise features

2 participants