Skip to content

feat: modernize packaging and ci#85

Open
AleksandrSl wants to merge 7 commits into
contentstack:masterfrom
AleksandrSl:chore/modernize-packaging-and-ci
Open

feat: modernize packaging and ci#85
AleksandrSl wants to merge 7 commits into
contentstack:masterfrom
AleksandrSl:chore/modernize-packaging-and-ci

Conversation

@AleksandrSl

Copy link
Copy Markdown

It's mostly a suggestions, since I don't your processes on packages builds, but it would be nice:

  • To have a modern config, instead of old requirements.txt which allows adding lock file later by using uv and separate dev deps from the main one
  • Test the library on CI, check that it supports more modern python versions too

There are more security changes that could be done on CI, like pinning the actions to reduce supply chain attacks, https://github.com/suzuki-shunsuke/pinact

AleksandrSl and others added 7 commits July 9, 2026 21:43
contentstack_utils.utils imports lxml.etree at module load time, but
install_requires has been empty since initial release. Declare lxml with
environment markers: >=6.1.0 on Python 3.8+ (aligned with requirements.txt),
>=4.9.0,<5 on 3.6–3.7.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move metadata to PEP 621 pyproject.toml while keeping setup.py for the
BuildPyWithRegions build hook. Add optional [dev] extras and a multi-Python
test workflow (3.6–3.13). No runtime behavior changes beyond PR contentstack#1.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace deprecated [tool.pytest.ini_options] with [tool.pytest], matching
modern pytest/pyproject conventions (--import-mode=importlib, strict).
Upgrade checkout and setup-python to v6; override addopts on Python 3.6.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@AleksandrSl
AleksandrSl requested a review from a team as a code owner July 9, 2026 20:09
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.

1 participant