Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Heroku deployment: SyntaxWarning: invalid escape sequence '\*' #232

Unanswered
jamesflores asked this question in Problem
Discussion options

Hello. I'm getting a warning when when deploying to Heroku but it doesn't seem to affect usage (so far). Just throught I would raise this. Here is a fragment of my deployment:

Enumerating objects: 17, done.
Counting objects: 100% (17/17), done.
Delta compression using up to 8 threads
Compressing objects: 100% (8/8), done.
Writing objects: 100% (9/9), 1.54 KiB | 1.54 MiB/s, done.
Total 9 (delta 5), reused 0 (delta 0), pack-reused 0
remote: Updated 285 paths from e2a5a69
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Building on the Heroku-22 stack
remote: -----> Using buildpack: heroku/python
remote: -----> Python app detected
remote: -----> No Python version was specified. Using the same version as the last build: python-3.12.2
remote:        To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
remote: -----> No change in requirements detected, installing from cache
remote: -----> Using cached install of python-3.12.2
remote: -----> Installing pip 23.3.2, setuptools 68.2.2 and wheel 0.42.0
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote:        Collecting setuptools==69.1.1 (from -r requirements.txt (line 50))
remote:          Downloading setuptools-69.1.1-py3-none-any.whl.metadata (6.2 kB)
remote:        Downloading setuptools-69.1.1-py3-none-any.whl (819 kB)
remote:        Installing collected packages: setuptools
remote:          Attempting uninstall: setuptools
remote:            Found existing installation: setuptools 68.2.2
remote:            Uninstalling setuptools-68.2.2:
remote:              Successfully uninstalled setuptools-68.2.2
remote:        Successfully installed setuptools-69.1.1
remote: -----> $ python manage.py collectstatic --noinput
remote:        /app/.heroku/python/lib/python3.12/site-packages/reactpy_django/router/resolvers.py:55: SyntaxWarning: invalid escape sequence '\*'
remote:          if pattern.endswith("\*$"):
remote:        366 static files copied to '/tmp/build_e1cb219b/staticfiles', 678 post-processed.

I'm using:

  • reactpy==1.0.2
  • reactpy-router==0.1.1
  • reactpy_django==3.8.0
You must be logged in to vote

Replies: 1 comment · 1 reply

Comment options

Moving this to the ReactPy-Django repo.

You must be logged in to vote
1 reply
@Archmonger
Comment options

@jamesflores Can you verify if this issue still occurs on the latest release of ReactPy-Django?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.