Giter VIP home page Giter VIP logo

Comments (4)

some1ataplace avatar some1ataplace commented on July 28, 2024

To enable CI to run for pull requests on the django-csp repository, you will need to configure the repository settings on the CI platform you are using. Here are the general steps to follow:

  1. Determine which CI platform the django-csp repository is using. It could be Travis CI, CircleCI, GitHub Actions, or another platform.

  2. Check the repository settings on the CI platform to see if pull request builds are enabled. If they are not enabled, enable them.

  3. If pull request builds are already enabled, check the configuration file for the CI build to ensure that it is configured to run on pull requests. For example, on Travis CI, you would need to add the following code to your .travis.yml file:

# .travis.yml
branches:
  only:
    - master
    - /^pull\/.*$/

This configuration tells Travis CI to run builds on the master branch and any pull request branches (/^pull/.*$/).


To troubleshoot issues with building the wheel for django-csp, you can try the following steps:

  1. Make sure you have the latest version of setuptools and wheel installed:
    pip install --upgrade setuptools wheel

  2. Check that you have all the required dependencies installed. You can do this by running:

pip install -r requirements.txt

  1. Try building the wheel again with the following command:

python setup.py bdist_wheel

  1. If you still encounter errors, check the error message for any specific issues and search for solutions online. You can also try building the wheel in a clean virtual environment to rule out any conflicts with other packages.

Based on the traceback you provided, it seems that the error is caused by a missing dependency. Specifically, the cffi module is not found.

To fix this issue, you can try installing the cffi module manually using the following command:

pip install cffi

Once you have installed cffi, try building the wheel again with the following command:

python setup.py bdist_wheel

If you still encounter errors, check the error message for any specific issues and search for solutions online. You can also try building the wheel in a clean virtual environment to rule out any conflicts with other packages.

from django-csp.

stevejalim avatar stevejalim commented on July 28, 2024

@papoteur-mga Hello! Sorry for the long wait on this one. main is now building against recent Django and Python versions. Could you confirm whether you can now build a wheel?

I'd like to get a 3.8rc out of the door soon, followed by a formal 3.8 with very few/zero functional changes, mostly just Python and Django support.

from django-csp.

papoteur-mga avatar papoteur-mga commented on July 28, 2024

@stevejalim
We have been able to build the version from a snapshot at tag 17d9415
Thanks

from django-csp.

stevejalim avatar stevejalim commented on July 28, 2024

OK thanks @papoteur-mga - I'll close this Issue, but feel free to re-open if you hit packaging issues with the new 3.8 release when it happens

from django-csp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.