Code Monkey home page Code Monkey logo

Comments (5)

jsocol avatar jsocol commented on May 28, 2024 1

Thanks for running this down @anveshagarwal! I can take a look at this later this week. I suspect there was a dirty build folder the last time I published and some old files got tarred up with the new one. I'll look at scripting/automating that so it's not subject to me remembering to remove the old ones.

from django-ratelimit.

adamchainz avatar adamchainz commented on May 28, 2024 1

FYI @jsocol here's my package release script: https://github.com/adamchainz/scripts/blob/main/package-release.py

It does a bunch of stuff, but I'd say the important steps here are rm -rf build dist and then python -m build. build is the recommended futuristic way to build packages now.

from django-ratelimit.

adamchainz avatar adamchainz commented on May 28, 2024

Thanks for making a reproducible report.

Unlike #252 I see VERSION = (3, 0, 1) in __init__.py. But I do see a models.py and a utils.py file, which indeed do not match what's in the repo for the 3.0.1 tag: https://github.com/jsocol/django-ratelimit/tree/v3.0.1/ratelimit

@jsocol is the owner and releaser - he will need to check the release process as to how this happened. I suspect he has old build files sitting around. They should be cleared between releases.

from django-ratelimit.

jsocol avatar jsocol commented on May 28, 2024

v4 is out and was built automatically with the new(ish, at this point) tooling inside Actions, with a pre-build clean step even though it should be in a clean environment each time. I don't have docker installed on this computer and it's a bit late, but hopefully this version shouldn't have issues with the packaging!

from django-ratelimit.

jsocol avatar jsocol commented on May 28, 2024

OK, I ran through the STR (thank you for that!) for v4: the utils file is gone, and the VERSION is correct. There is still an empty models file which is intentional—though since there's also an app.py now it's probably no longer necessary

from django-ratelimit.

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.