Skip to content

feat: vendor pyscss so that re is fixed for py3#121

Closed
shwoodard wants to merge 1 commit intoaip-dev:masterfrom
shwoodard:vendor-pyscss
Closed

feat: vendor pyscss so that re is fixed for py3#121
shwoodard wants to merge 1 commit intoaip-dev:masterfrom
shwoodard:vendor-pyscss

Conversation

@shwoodard
Copy link
Copy Markdown
Contributor

Given that the pyscss library will not release version 1.4.1 to PyPI (PR), this commit vendors the library into the repo, including the LICENSE file for compliance. The fix for the re is included.

This is to pave the way to allow us to update outdated dependencies

The commit does the following:

  • Vendor pyscss 1.4.0
  • Fixes the regex error in expression.py with a comment that links to the PR that does the same.
  • Remove the download from setup.py
  • Add the vendored files to the MANIFEST so that they are installed with pip for gh-pages
  • Add the vendor dir's children that are directories to the import path so that "scss" is seen.

@shwoodard shwoodard requested a review from a team as a code owner December 10, 2025 14:54
Given that [the pyscss library](https://github.com/Kronuz/pyScss) will
not release version 1.4.1 to PyPI ([PR](Kronuz/pyScss#430)),
this commit vendors the library into the repo, including the LICENSE
file for compliance. The fix for the re is included.

The commit does the following:

* Vendor pyscss 1.4.0
* Fixes the regex error in expression.py with a comment that links to
  the PR that does the same.
* Remove the download from setup.py
* Add the vendored files to the MANIFEST so that they are installed with
  pip for gh-pages
* Add the vendor dir's children that are directories to the import path
  so that "scss" is seen.
@shwoodard
Copy link
Copy Markdown
Contributor Author

Closing this since vendoring is not recommended by the pip team. Suggest using from fork like in #122.

@shwoodard shwoodard closed this Dec 10, 2025
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