Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex warning when deploying via heroku #233

Closed
Archmonger opened this issue Mar 10, 2024 · 1 comment
Closed

Regex warning when deploying via heroku #233

Archmonger opened this issue Mar 10, 2024 · 1 comment

Comments

@Archmonger
Copy link
Contributor

Archmonger commented Mar 10, 2024

Originally posted by @jamesflores in #232

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
@Archmonger
Copy link
Contributor Author

Potentially resolved in #236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant