PyPi: Module code doesn't update when I upload a new version











up vote
0
down vote

favorite












I created my first module, and released the first version 0.0.1. I then completed my todo list and added more functions and enhanced most of the old code, and tried to upload a new version (0.0.2). It took long but I finally did upload it.



I reinstalled it to get the latest version, and tried it. All the new functions didn't work, and it was basically the old code (0.0.1). I released new builds to try and fix the problem, but it wont work: "module 'modulename' has no attribute 'notify'"



I did twine upload --skip-existing dist/*, pip --no-cache-dir install module and tried to remove all files with that module name before installing it again, but it still had the old code. I downloaded the .tar.gz and went to the folder the __init__.py and the module.py files were, and the code was up to date.



Is it because of my computer, or is the code not updating? It's confusing, so I need help on this. Thanks










share|improve this question







New contributor




Cyclip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • How long did you wait after the upload? The PyPI CDN can take some time to propagate new packages.
    – MisterMiyagi
    18 hours ago










  • It updated instantly and when I used pip to install it, it said "Installed module==0.0.2.3"
    – Cyclip
    18 hours ago















up vote
0
down vote

favorite












I created my first module, and released the first version 0.0.1. I then completed my todo list and added more functions and enhanced most of the old code, and tried to upload a new version (0.0.2). It took long but I finally did upload it.



I reinstalled it to get the latest version, and tried it. All the new functions didn't work, and it was basically the old code (0.0.1). I released new builds to try and fix the problem, but it wont work: "module 'modulename' has no attribute 'notify'"



I did twine upload --skip-existing dist/*, pip --no-cache-dir install module and tried to remove all files with that module name before installing it again, but it still had the old code. I downloaded the .tar.gz and went to the folder the __init__.py and the module.py files were, and the code was up to date.



Is it because of my computer, or is the code not updating? It's confusing, so I need help on this. Thanks










share|improve this question







New contributor




Cyclip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • How long did you wait after the upload? The PyPI CDN can take some time to propagate new packages.
    – MisterMiyagi
    18 hours ago










  • It updated instantly and when I used pip to install it, it said "Installed module==0.0.2.3"
    – Cyclip
    18 hours ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I created my first module, and released the first version 0.0.1. I then completed my todo list and added more functions and enhanced most of the old code, and tried to upload a new version (0.0.2). It took long but I finally did upload it.



I reinstalled it to get the latest version, and tried it. All the new functions didn't work, and it was basically the old code (0.0.1). I released new builds to try and fix the problem, but it wont work: "module 'modulename' has no attribute 'notify'"



I did twine upload --skip-existing dist/*, pip --no-cache-dir install module and tried to remove all files with that module name before installing it again, but it still had the old code. I downloaded the .tar.gz and went to the folder the __init__.py and the module.py files were, and the code was up to date.



Is it because of my computer, or is the code not updating? It's confusing, so I need help on this. Thanks










share|improve this question







New contributor




Cyclip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I created my first module, and released the first version 0.0.1. I then completed my todo list and added more functions and enhanced most of the old code, and tried to upload a new version (0.0.2). It took long but I finally did upload it.



I reinstalled it to get the latest version, and tried it. All the new functions didn't work, and it was basically the old code (0.0.1). I released new builds to try and fix the problem, but it wont work: "module 'modulename' has no attribute 'notify'"



I did twine upload --skip-existing dist/*, pip --no-cache-dir install module and tried to remove all files with that module name before installing it again, but it still had the old code. I downloaded the .tar.gz and went to the folder the __init__.py and the module.py files were, and the code was up to date.



Is it because of my computer, or is the code not updating? It's confusing, so I need help on this. Thanks







python module pypi






share|improve this question







New contributor




Cyclip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Cyclip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Cyclip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 19 hours ago









Cyclip

1




1




New contributor




Cyclip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Cyclip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Cyclip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • How long did you wait after the upload? The PyPI CDN can take some time to propagate new packages.
    – MisterMiyagi
    18 hours ago










  • It updated instantly and when I used pip to install it, it said "Installed module==0.0.2.3"
    – Cyclip
    18 hours ago


















  • How long did you wait after the upload? The PyPI CDN can take some time to propagate new packages.
    – MisterMiyagi
    18 hours ago










  • It updated instantly and when I used pip to install it, it said "Installed module==0.0.2.3"
    – Cyclip
    18 hours ago
















How long did you wait after the upload? The PyPI CDN can take some time to propagate new packages.
– MisterMiyagi
18 hours ago




How long did you wait after the upload? The PyPI CDN can take some time to propagate new packages.
– MisterMiyagi
18 hours ago












It updated instantly and when I used pip to install it, it said "Installed module==0.0.2.3"
– Cyclip
18 hours ago




It updated instantly and when I used pip to install it, it said "Installed module==0.0.2.3"
– Cyclip
18 hours ago

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Cyclip is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237529%2fpypi-module-code-doesnt-update-when-i-upload-a-new-version%23new-answer', 'question_page');
}
);

Post as a guest





































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Cyclip is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















Cyclip is a new contributor. Be nice, and check out our Code of Conduct.













Cyclip is a new contributor. Be nice, and check out our Code of Conduct.












Cyclip is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237529%2fpypi-module-code-doesnt-update-when-i-upload-a-new-version%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Lugert, Oklahoma